react-hook-form / resolvers

📋 Validation resolvers: Yup, Zod, Superstruct, Joi, Vest, Class Validator, io-ts, Nope, computed-types, typanion, Ajv, TypeBox, ArkType, Valibot, effect-ts and VineJS
https://react-hook-form.com/
MIT License
1.77k stars 161 forks source link

yupResolver typescript error #583

Closed kingofdice66 closed 1 year ago

kingofdice66 commented 1 year ago

Describe the bug If I substitute resolver: yupResolver(schema) with resolver: yupResolver<UseForm>(schema) it works as it should.

Codesandbox link (Required) -Yup resolver

Screenshots Untitled

kingofdice66 commented 1 year ago

Never mind. I've read that the fix was done in this release: 3.1.1