@types/express-serve-static-core
Advanced tools
Comparing version
@@ -74,4 +74,6 @@ // Type definitions for Express 4.17 | ||
export interface IRouterHandler<T> { | ||
(...handlers: RequestHandler[]): T; | ||
(...handlers: RequestHandlerParams[]): T; | ||
// tslint:disable-next-line no-unnecessary-generics (This generic is meant to be passed explicitly.) | ||
<P = ParamsDictionary, ResBody = any, ReqBody = any, ReqQuery = ParsedQs>(...handlers: Array<RequestHandler<P, ResBody, ReqBody, ReqQuery>>): T; | ||
// tslint:disable-next-line no-unnecessary-generics (This generic is meant to be passed explicitly.) | ||
<P = ParamsDictionary, ResBody = any, ReqBody = any, ReqQuery = ParsedQs>(...handlers: Array<RequestHandlerParams<P, ResBody, ReqBody, ReqQuery>>): T; | ||
} | ||
@@ -78,0 +80,0 @@ |
{ | ||
"name": "@types/express-serve-static-core", | ||
"version": "4.17.14", | ||
"version": "4.17.15", | ||
"description": "TypeScript definitions for Express", | ||
@@ -61,4 +61,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "3f4e3ad6901fa7efa969bb72f3f2e79f3bb4536bab4e4dc75d2f452a361d5cc2", | ||
"typesPublisherContentHash": "36facd3fd1b51fb2f20fa6908cb3954df34cd8391338ec2c8942314d2f321999", | ||
"typeScriptVersion": "3.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 23 Nov 2020 20:49:10 GMT | ||
* Last updated: Tue, 08 Dec 2020 21:39:56 GMT | ||
* Dependencies: [@types/range-parser](https://npmjs.com/package/@types/range-parser), [@types/qs](https://npmjs.com/package/@types/qs), [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
40107
1.06%970
0.21%