-
-
Notifications
You must be signed in to change notification settings - Fork 200
Closed
Labels
Description
Describe the bug
Example, copied from README.MD does not work, triggering error on "resolver" property. I had to replace ref
on username
with {...register('username')}
because the typing failed there too, but looks unrelated to resolver (I guess example with ref
is outdated for this react-hook-form example).
To Reproduce
See sandbox
Codesandbox link (Required)
https://codesandbox.io/s/priceless-gareth-hs0zo?file=/src/App.tsx
Expected behavior
No type error
Desktop (please complete the following information):
- OS: linux
- Browser firefox
- Version 89