punn
punn2y ago

TS compiler randomly failing

I hadn't changed convex functions since last night but after running npx convex dev today I'm getting some typecheck errors:
No description
2 Replies
ballingt
ballingt2y ago
Adding types: [] to the tsconfig.json compiler options might fix this, but it's an issue with having multiple sets of types for React you might have an issue with @types/react-is and @types/react being different versions
punn
punnOP2y ago
types: [] fixed it thank you

Did you find this page helpful?