19 Commits
Author SHA1 Message Date
Kenji-Imamura fb2e78984b fix express.NextFunction 2016-03-22 12:58:42 +09:00
Horiuchi_H bc92442c07 change CRLF to LF 2016-02-08 12:01:16 +09:00
Leo Liang f743b7f495 express.d.ts: define next() function type 2016-02-04 14:26:46 +08:00
Nimish Telang ce6e288c4d Update express router type, to work around typescript issue #1805 2016-01-15 16:46:36 +00:00
Kyle Gretchev 52ef0043e7 Converted imports to ES6 module syntax 2015-08-04 20:47:16 -04:00
Ole Rehmsen 469065e77d Import type definitions for express.static from serve-static instead of only supporting the call signature.
Express exposes serve-static as express.static: https://github.com/strongloop/express/blob/master/lib/express.js#L60
Prior to this change, the type definitions would only consist of the call signature of serve-static, but serve static also has member variables. By importing the entire type definition from serve-static and using it for express.static, both the call signature and the members can be used.
2015-06-18 19:19:53 +02:00
Santi Albo e039638763 Add more tests 2014-07-17 13:22:19 +01:00
Santi Albo 57a3b6e1b8 Add basic type definitions for express 4.x 2014-06-03 13:23:04 +01:00
John Purcell f5b19e8dd7 Return http.Server from express.listen() 2014-03-26 15:07:49 -04:00
George Valotasios 0c7075602f Merge upstream into express-router 2013-12-18 10:26:20 +01:00
Jed Mao 1ee4c773d0 More specific Express types 2013-12-12 11:07:02 -06:00
George Valotasios cb2beb72e4 Experimenting with Router definition 2013-12-10 11:05:18 +01:00
Sam Gronblom 55d38312e9 A bunch of fixes to express declaration
- Move Express-prefixed interface names into internal module as
  unprefixed names
- The importing code will use express.Response instead of
  ExpressServerResponse
- Internal definitions can just use Response instead of
  ExpressServerResponse
- Response should extend http.Response to be able to type check .end
  for example
2013-09-24 12:00:17 +09:00
Boris Yankov 17f95ed26d Fix express tests 2013-08-07 18:17:54 +03:00
Andrew Gaspar 82ae26b96c Fixed express module definition. 2013-06-20 22:41:35 -07:00
Diullei Gomes 8a17feb7d8 express definitions updated. 2013-02-13 21:17:02 -02:00
Boris Yankov 209d95071a Update reference paths 2013-01-17 20:03:30 +02:00
Boris Yankov 7c82efb17a Update reference paths 2012-11-19 01:28:08 +02:00
Boris Yankov c91c45f9ae Move definitions and test in separate folders
This enables each definition to have a readme if necessary.
Also a .json metadata file to help with package managers.
And last, to have different versions of the definitions.
2012-11-18 22:28:44 +02:00