Merge pull request #170 from houdiniproject/mrf_typing_improvement
Improve typing for mobx-react-form
This commit is contained in:
commit
39437bcfda
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