Skip to content

Commit

Permalink
Update innerRef type signature
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Abreu committed Feb 28, 2020
1 parent c85d85a commit 7739d29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/formik/src/types.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export interface FormikConfig<Values> extends FormikSharedConfig {
validate?: (values: Values) => void | object | Promise<FormikErrors<Values>>;

/** Inner ref */
innerRef?: (instance: any) => void;
innerRef?: React.Ref<FormikProps<Values>>;
}

/**
Expand Down

0 comments on commit 7739d29

Please sign in to comment.