Vojtěch PerníkV
Convex Community8mo ago
7 replies
Vojtěch Perník

Type problems with Convex functions in NextJS

I'm trying to use Convex functions with NextJS and I'm running into multiple type problems that I'm unable to solve. First, some namespaces under
api
have only a generic record type and no functions are available. If I try to use those that have functions in them, I get just
any
as the return type from fetchQuery. Does anybody know what may be the problem here?
Screenshot_From_2025-06-07_20-46-38.png
Screenshot_From_2025-06-07_20-47-17.png
Screenshot_From_2025-06-07_20-48-48.png
Was this page helpful?