Convert PasswordLogin to Typescript
This commit is contained in:
parent
85fbc6d89f
commit
7397cebbea
2 changed files with 106 additions and 124 deletions
|
@ -32,7 +32,7 @@ interface IRule<T, D = void> {
|
|||
|
||||
interface IArgs<T, D = void> {
|
||||
rules: IRule<T, D>[];
|
||||
description(this: T, derivedData: D): React.ReactChild;
|
||||
description?(this: T, derivedData: D): React.ReactChild;
|
||||
hideDescriptionIfValid?: boolean;
|
||||
deriveData?(data: Data): Promise<D>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue