How do I force Visual Studio Code to always use my workspace's version of TypeScript for all projects?
08:20 01 Dec 2022

Every time I open a new project in Visual Studio Code, it defaults to its own version of TypeScript rather than the workspace's version. Is there a way to default to the workspace version, so I don't have to change it every time?

For example,

Changing to workspace version

I've tried looking through the settings and there only seems to be an ability to prompt me—none to default to the behaviour I want every time.

How do I force Visual Studio Code to always use my workspace's version of TypeScript for all projects?

visual-studio-code