mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
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. |
||
|---|---|---|
| .. | ||
| express-tests.ts | ||
| express.d.ts | ||