15 Commits
Author SHA1 Message Date
Jed Mao 1ee4c773d0 More specific Express types 2013-12-12 11:07:02 -06:00
Jeffery Grajkowski 798dbfbf8f Converting ungeneric "Array" to "any[]"
TypeScript 0.9.5 beta does not allow generic type references without the type argument.  This code will still compile for 0.9.1 users.  Flight and Ember have further compile problems in 0.9.5 that I don't feel qualified to address as I'm not versed in those libraries.
2013-11-26 10:29:46 -08:00
Chris Cowan 89548662d0 express.d.ts: tabs -> spaces 2013-11-23 18:07:17 -06:00
Chris Cowan 09ad8f8283 Fixes for express definitions.
app.listen is fixed so that it can be called with a port, hostname, and
optional callback without a backlog parameter.

app.listen is fixed so callback parameter is always optional.

CSRF protection middleware definition is fixed so options parameter is
optional.

req.csrfToken method is added since the CSRF protection middleware has
been updated.
2013-11-23 16:40:32 -06:00
basarat 3ce9de0efb express: implicity any and formatting 2013-11-16 04:29:03 +11: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
Alex Varju 9c20415c87 improve express signatures 2013-09-18 17:19:05 -07:00
Alex Varju 93cba1a24c add missing 'routes' property to application 2013-09-10 18:34:53 -07:00
Boris Yankov ea15619251 Replace multiple 'module' keywords with 'require' 2013-08-07 18:26:38 +03:00
Andrew Gaspar 7463b00681 Made Q have better generics support made possible be v0.9.0.1. Also eliminated redundant function definitions in express. 2013-06-30 17:59:21 -07:00
Andrew Gaspar 82ae26b96c Fixed express module definition. 2013-06-20 22:41:35 -07:00
Niklas Mollenhauer da62ac10b3 bool -> boolean 2013-06-19 00:48:14 +02: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 c98eebb137 Rename all definition files, remove versions 2013-01-17 17:17:27 +02:00