Closed
Description
🐛 Bug report
Current Behavior
Using handleChange
and handleBlur
callbacks returned by useFormik
hook causes TS error Type void is not assignable to ...
Expected behavior
No error
Suggested solution(s)
Give callbacks explicit typings using types specified for FormikHandlers
Your environment
Software | Version(s) |
---|---|
Formik | 2.1.4 |
React | 16.13.1 |
TypeScript | 3.8.3 |
Browser | - |
npm/Yarn | - |
Operating System | - |
Metadata
Metadata
Assignees
Labels
No labels