Importing node and express with typings in TypeScript

后端 未结 3 1954
广开言路
广开言路 2021-02-01 05:23

I am trying to set up a TypeScript express/node application in Visual Studio Code following the Microsoft guide but changing it to use TypeScript however when it comes to instal

3条回答
  •  有刺的猬
    2021-02-01 05:37

    to save everyone a headache, the magic command to get the typings for node is now:

    typings install node --source env --global --save

提交回复
热议问题