How to force VSCode to use locally installed TypeScript

后端 未结 2 976
情话喂你
情话喂你 2021-01-12 06:01

Is there a way to force Visual Studio Code to use the TypeScript installed locally in a JS project (instead of the version bundled with VSCode, or the version installed glob

2条回答
  •  走了就别回头了
    2021-01-12 06:20

    Shaun Luttins answer worked for me except for one detail: Using Version 1.31.1 of Visual Studio Code file settings.json only works if placed directly in the root folder of the workspace, not in folder .vscode.

提交回复
热议问题