Update src/components/views/elements/Validation.tsx

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Matthew Hodgson 2020-11-10 18:29:28 +00:00 committed by GitHub
parent 99fb62cc68
commit 36aa80fb64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ interface IRule<T, D = void> {
interface IArgs<T, D = void> {
rules: IRule<T, D>[];
description(this: T, derivedData: D): React.ReactChild;
hideDescriptionIfValid?: Boolean;
hideDescriptionIfValid?: boolean;
deriveData?(data: Data): Promise<D>;
}