Hey,
It seems like Cursor ships with typescript 5.5, would be nice to update it to 5.6
This is causing my OSS project tRPC to be broken by default as we require TypeScript >=5.6.2
Hey,
It seems like Cursor ships with typescript 5.5, would be nice to update it to 5.6
This is causing my OSS project tRPC to be broken by default as we require TypeScript >=5.6.2
Hey, try this solution:
How can you tell what version of TypeScript cursor is using? The tsc command in the terminal doesn’t work.
To check the TypeScript version, click on the curly braces {} next to the TypeScript label in the status bar.
Adding …
{
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true
}
… to .vscode/settings.json
helps somewhat, but it requires user action to accept it.
We now require >=5.7.2
and we get weekly bug reports where people ask about this even if it is in our FAQ
Hey, thanks for reaching out!
We should have an update coming in the next few days which bumps the TypeScript version to 5.7.2, which should work for you.
I’ll reach out to you directly now so that if you are aware of a minimum version bump coming soon, we can try our best to get the version upgraded in our following update.
Thanks