Var&
Var&4mo ago

getting compile TS error after upgrading to v1.16.2

Hi all, I tried to upgrade the convex dependency from v1.16.0 but both newer versions 1.16.1 and 1.16.2 throws this weird export error when running codegen or dev commands. I scanned my convex directory and I don't see any warnings or errors from eslint. Would appreciate any insight on this. Thank you very much.
No description
5 Replies
Convex Bot
Convex Bot4mo ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
ballingt
ballingt4mo ago
@Var& What version of TypeScript are you using?
Var&
Var&OP4mo ago
Apologies forgot to mention that "typescript": "~5.3.3"
ballingt
ballingt4mo ago
Thanks for reporting. I'd downgrade back to 1.16.0, but another workaround is setting skipLibCheck: true in the convex/tsconfig.json. We'll get a fix out for this soon @Var& this is resolved in convex 1.16.3 also adding tests for this kind of thing, it's a difference between internal and public types like https://github.com/get-convex/convex-js/blob/58dc97eebb608de28e0c39ae00c5beadc63773b7/src/server/components/index.ts#L389-L398, some tests were running only on internal types so this slipped in
Var&
Var&OP4mo ago
Thank you @ballingt I confirm it's fixed with mentioned version 🙏

Did you find this page helpful?