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:
I'v run into this issue myself and found out you also have to have the actual nodeJS module installed as well as its typing.
So when you have correclty configured typescript and your project, you need ot install both the nodeJS dependency as well as the @types dependecy.
npm install express --save
npm install --save @types/express