1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

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

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