Skip to content

fixing the typecheck fail when running convex dev for the first time#59

Closed
mikecann wants to merge 3 commits intoopenclaw:mainfrom
mikecann:mikec/making-convex-typecheck
Closed

fixing the typecheck fail when running convex dev for the first time#59
mikecann wants to merge 3 commits intoopenclaw:mainfrom
mikecann:mikec/making-convex-typecheck

Conversation

@mikecann
Copy link

@mikecann mikecann commented Jan 28, 2026

Right now the project doesnt pass typecheck when you bunx convex dev

image

This fixes that by bumping the lib version to ES2023

see below, this PR now instead fixes the lines that cause this to fail when running under an es2021 typecheck

@vercel
Copy link
Contributor

vercel bot commented Jan 28, 2026

@mikecann is attempting to deploy a commit to the Amantus Machina Team on Vercel.

A member of the Team first needs to authorize it.

@mikecann
Copy link
Author

unfortunately right now the first run of convex dev will overwrite the tsconfig thus I have changed this to be back to es2021 instead of 2023 and instead fixed the lines that were using .at which is not in es2021

@mikecann mikecann changed the title making convex typecheck by setting the correct lib version fixing the typecheck fail when running convex dev for the first time Jan 28, 2026
@steipete
Copy link
Collaborator

Closing as obsolete: on current main (2026-02-14), convex typecheck passes ( + ). This PR would also add generated Convex README/tsconfig churn we no longer need.

@steipete steipete closed this Feb 14, 2026
@steipete
Copy link
Collaborator

Clarification: verified with bunx convex dev --once and bunx tsc --project convex/tsconfig.json --noEmit on current main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants