DefinitelyTyped/express
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
..
express-tests.ts Import type definitions for express.static from serve-static instead of only supporting the call signature. 2015-06-18 19:19:53 +02:00
express.d.ts Import type definitions for express.static from serve-static instead of only supporting the call signature. 2015-06-18 19:19:53 +02:00