MordsithM
Convex Community16mo ago
4 replies
Mordsith

Type inference issue with newly added routes

All my previous routes work fine and are correctly typed. All of a sudden, things stopped. When I add a new function, type inference from react stpped working as expected.

I placed the new function in an old queries.ts file that is properly typed, only the new function has this inference. Any idea what causes this?
Screenshot_2024-09-28_at_16.53.07.png
Screenshot_2024-09-28_at_16.52.46.png
Screenshot_2024-09-28_at_16.52.35.png
Was this page helpful?