Importing node and express with typings in TypeScript

后端 未结 3 1948
广开言路
广开言路 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:38

    The tutorial I linked has now been updated to include the following commands:

    typings install node --ambient
    typings install express serve-static express-serve-static-core --ambient
    

    See @cdbajorin 's comment for information about why dependencies are not automatically downloaded.

提交回复
热议问题