change typescript version in workspace to have typesafety for nextjs (const dynamic =)

how can I change the typescript version in my workspace to have typesafety for nextjs (const dynamic =)? I tried searching change ts version but use the workspace option doesn't exist. Do i need to be in a ts file?
Solution:
The TypeScript version used by your workspace is the version installed in your current project’s node_modules directory, which is specified under devDependencies or dependencies in your package.json file.
Jump to solution
2 Replies
Solution
SG.dev
SG.dev8mo ago
The TypeScript version used by your workspace is the version installed in your current project’s node_modules directory, which is specified under devDependencies or dependencies in your package.json file.
Elite
EliteOP8mo ago
ah alr, the option to do it on vs code didnt show up
Want results from more Discord servers?
Add your server