Improve typing for mobx-react-form
This commit is contained in:
parent
7bc82350bd
commit
b43883c24c
1 changed files with 3 additions and 1 deletions
4
types/mobx-react-form/index.d.ts
vendored
4
types/mobx-react-form/index.d.ts
vendored
|
@ -310,13 +310,15 @@ export class Form implements Base {
|
|||
update(obj: any): void;
|
||||
|
||||
readonly submitting: boolean;
|
||||
readonly isValid:boolean;
|
||||
|
||||
protected validator :any
|
||||
|
||||
readonly isValid :boolean;
|
||||
readonly size:number
|
||||
|
||||
readonly isPristine :boolean;
|
||||
readonly isDirty :boolean;
|
||||
|
||||
values(): {[fields:string] : ValuesResponse|string}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue