There was a typo in the UseFormSubscribe type of react-hook-form that was fixed in this pr react-hook-form/react-hook-form#12899. Since the built version of remix-hook-form@7.1.1 exposes those types internally, users with a version of react-hook-form>=7.59.0 will notice an any when trying to access those properties from useRemixForm.
I think it may be worth updating the react-hook-form peerDependency to at least 7.59.0 , and possibly consider how to avoid the implicit dependency on the types.
There was a typo in the
UseFormSubscribetype of react-hook-form that was fixed in this pr react-hook-form/react-hook-form#12899. Since the built version ofremix-hook-form@7.1.1exposes those types internally, users with a version ofreact-hook-form>=7.59.0will notice ananywhen trying to access those properties fromuseRemixForm.I think it may be worth updating the
react-hook-formpeerDependency to at least7.59.0, and possibly consider how to avoid the implicit dependency on the types.