If any of you ran to the same issue as me where you get declaration error on line import { zodResolver } from "@hookform/resolvers/zod";
, ignore the versions that Mosh used and re-install zod and hookform/resolvers using their @latest version. It worked for me!
1 Like
I used latest versions on all dependencies, there are some problems with syntax changes. But it’s worth learning new versions, it all works if you troubleshoot.
2 Likes