How to install express in typings?

后端 未结 5 1725
礼貌的吻别
礼貌的吻别 2021-02-07 08:23

I am trying to use expressjs in my app.

After installing it using typings install express --ambient --save, I run tsc, but I get two errors:

5条回答
  •  暖寄归人
    2021-02-07 09:01

    {
      "globalDependencies": {
        "express": "registry:dt/express#4.0.0+20160708185218",
        "express-serve-static-core": "registry:dt/express-serve-static-core#4.0.0+20160715232503",
        "mime": "registry:dt/mime#0.0.0+20160316155526",
        "node": "registry:dt/node#6.0.0+20160621231320",
        "serve-static": "registry:dt/serve-static#0.0.0+20160606155157"
      }
    }
    

    This is my working Typings.json

提交回复
热议问题