Typescript type issues with validate after updating to v7.52.0
Hi, the following snippet started showing typescript type errors after I updated the react-hook-form version to v7.52.0 while it was working fine for v7.51.5. It has something to do with the following PR and I was wondering if someone can help me out to figure out whether the problem is in my code or something with the library. I had to change the
Overview This PR restricts the deps property within RegisterOptions to accept only field names or an array of field names instead of string | string[]. This change improves type safety and prevents...