allenA
Convex Community3y ago
35 replies
allen

any types

I seem to have broken my api typings today. I'm not quite sure what did it exactly. I was just refactoring my function file structure, and suddenly all of my useQuery,
useMutation
, etc react helpers now return types of any. I've tried rerunning codegen, upgrading the convex cli, deleting all node_modules and re-installing -- even reverting my refactoring changes. Nothing seems to get back to having end-to-end type safety. I get the same behavior in webstorm and vscode.

Unsure of how to get back to a happy place. Any tips?
image.png
Was this page helpful?