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

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
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
1 changed files with 1 additions and 1 deletions

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>;
}