Merge pull request #170 from houdiniproject/mrf_typing_improvement

Improve typing for mobx-react-form
This commit is contained in:
Eric Schultz 2019-03-01 14:31:00 -06:00 committed by GitHub
commit 39437bcfda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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