Commit Graph

28 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
basarat
232b0fb624 Merge pull request #1077 from sgronblo/improve_express_d_ts
Namespacing for express definition
2013-11-15 02:58:02 -08:00
vvakame
2708bc05cd Fixed tsc failed on Node.js v0.8.25 2013-10-03 11:23:38 +09:00
vvakame
3fe1f6bc4e Fixed to CI test passing 2013-10-03 10:18:58 +09: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
Boris Yankov
17f95ed26d Fix express tests 2013-08-07 18:17:54 +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
Diullei Gomes
e7d32b654f fix express 3.1 definitions to be used as a module #264 2013-02-11 11:56:36 -02:00
Diullei Gomes
ae4876ab35 fix express 3.1 definitions to be used as a module #264 2013-02-11 11:51:31 -02:00
Diullei Gomes
0156e9c160 fix express 3.1 definitions to be used as a module #264 2013-02-11 11:40:53 -02:00
Diullei Gomes
be07cdcd8c type definitions for express 3.1 #264 2013-02-11 11:40:50 -02:00
Diullei Gomes
283e996bd2 type definitions for express 3.1 #264 2013-02-10 16:36:42 -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
Boris Yankov
1465409108 Fix express definitions, remove unnecessary post, put & del definitions 2013-01-03 12:36:40 +02:00
Boris Yankov
9952256075 Fix express get method definitions 2013-01-03 12:23:57 +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