From e516602bee157aa9d718cee5c3a426c49cc021fc Mon Sep 17 00:00:00 2001 From: Max Hung Date: Mon, 24 Jun 2019 23:43:19 +1200 Subject: [PATCH] fix(typescript): Fix type withFormikControlProps (#117) --- index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.d.ts b/index.d.ts index f7b9895..d891d8e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -24,6 +24,8 @@ export interface withFormikControlProps { error?: string; value: string; onChange: string; + setFieldValue(value: string): void; + setFieldTouched(): void; } export type makeInputGreatAgainProps = makeReactNativeFieldProps &