How can I generate a tsconfig.json file?

后端 未结 9 427
失恋的感觉
失恋的感觉 2020-12-04 10:48

How can I generate a tsconfig.json via the command line? I tried command tsc init, but this doesn\'t work.

9条回答
  •  一生所求
    2020-12-04 11:19

    I recommend to uninstall typescript first with the command:

    npm uninstall -g typescript
    

    then use the chocolatey package in order to run:

    choco install typescript
    

    in PowerShell.

提交回复
热议问题