Improve typing for mobx-react-form

This commit is contained in:
Eric Schultz 2019-03-01 12:41:36 -06:00
parent 7bc82350bd
commit b43883c24c

View file

@ -310,13 +310,15 @@ export class Form implements Base {
update(obj: any): void; update(obj: any): void;
readonly submitting: boolean; readonly submitting: boolean;
readonly isValid:boolean;
protected validator :any protected validator :any
readonly isValid :boolean; readonly isValid :boolean;
readonly size:number readonly size:number
readonly isPristine :boolean;
readonly isDirty :boolean;
values(): {[fields:string] : ValuesResponse|string} values(): {[fields:string] : ValuesResponse|string}
} }