From 53ecbcc518f72957cdba0c9478d2d6aa88b4bde3 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Mon, 18 Jun 2018 12:29:52 +0200 Subject: [PATCH] fix(type): setFormikInitialValue type --- index.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/index.d.ts b/index.d.ts index 310e140..9207852 100644 --- a/index.d.ts +++ b/index.d.ts @@ -4,6 +4,10 @@ export interface makeReactNativeFieldProps { name: string; } +export interface setFormikInitialValueProps { + name: string; +} + export interface withInputTypePropsProps { type: string; } @@ -17,6 +21,7 @@ export interface withTouchedProps { } export type makeInputGreatAgainProps = makeReactNativeFieldProps & + setFormikInitialValueProps & withInputTypePropsProps & withErrorProps & withTouchedProps; @@ -25,6 +30,10 @@ export function makeReactNativeField( WrappedComponent: React.ComponentType ): React.ComponentClass; +export function setFormikInitialValue( + WrappedComponent: React.ComponentType +): React.ComponentClass; + export function withError( WrappedComponent: React.ComponentType ): React.ComponentClass;