VS Code で「外部プログラム tsc.exe の起動に失敗しました」というメッセージが引き続き表示されます。typescript をインストールし、パスを 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"