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
-
Is there any way a feature can be added to Formik where the
useFormik
hook 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 theany
type.Beta Was this translation helpful? Give feedback.
All reactions