问题
The title says all, anyway, after update yesterday visual code studio is not transpiling ts files to js saying tsc is not recognized asa external or internal command
回答1:
In your settings, set the location of the typescript sdk
The setting can now take absolute and relative paths.
I have typescript installed locally in my projects, so my stting looks like
{
"typescript.tsdk": "./node_modules/typescript/lib"
}
I use VSCode 0.10.5 and TS 1.7.5 which are the latest at time of writing
来源:https://stackoverflow.com/questions/34430205/after-recent-update-vs-code-transpiling-stopped-working-tsc-is-not-recognized-a