From b43883c24c40ae732e3ac134a27cc21bae5561dd Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Fri, 1 Mar 2019 12:41:36 -0600 Subject: [PATCH] Improve typing for mobx-react-form --- types/mobx-react-form/index.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/mobx-react-form/index.d.ts b/types/mobx-react-form/index.d.ts index 7525856a..96cf2400 100644 --- a/types/mobx-react-form/index.d.ts +++ b/types/mobx-react-form/index.d.ts @@ -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} }