Does VS Code install TypeScript, and if so: where?

后端 未结 5 1067
借酒劲吻你
借酒劲吻你 2021-01-01 15:22

I recently read that installing VS Code also installs the TypeScript compiler. Is this true? If so, where is it installed?

I found a tsc.js file here:



        
5条回答
  •  情书的邮戳
    2021-01-01 15:45

    Shell command 'tsc' still giving error about command not found, although I had run

    • npm install -g typescript (and tsc -v returns version 1.7.5)

    In the end I used external command:

    • "command": "C:/Users/user1/AppData/Roaming/npm/tsc.cmd",

    • "isShellCommand": "false"

    And then it built

提交回复
热议问题