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.
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.
- 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
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.