我在 VS Code 中不断收到“无法启动外部程序 tsc.exe”。我已经安装了打字稿并将我的路径设置为 tsc.exe 所在的位置。任何建议这是我的任务文件
// The command is tsc.
"command": "tsc",
// Show the output window only if unrecognized errors occur.
"showOutput": "silent",
// Under windows use tsc.exe. This ensures we don't need a shell.
"windows": {
"command": "tsc.exe"
},
// args is the HelloWorld program to compile.
"args": ["HelloWorld.ts"],
// use the standard tsc problem matcher to find compile problems
// in the output.
"problemMatcher": "$tsc"