Typescript Typings for express.
typings install --save express
or
npm install --save-dev types/npm-express#<commit hash>
import express = require('express'); const app = express(); app.get('/', (req: express.Request, res: express.Response) => { res.send('Hello World'); }); app.listen(3000);
You can run the tests by running npm run build and then npm run test.
Based on the typings by Boris Yankov on DefinitelyTyped