Return Type for the useFormik hook #3323
Unanswered
ishaangupte21
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any way a feature can be added to Formik where the
useFormikhook returns a typed object rather than just an arbitrary object of values as it is right now? This would make typescript development much easier as the developer would be able to specify a type while passing the formik instance as a prop, and preserve type safety instead of using theanytype.Beta Was this translation helpful? Give feedback.
All reactions