@types/express-serve-static-core
Advanced tools
Comparing version
@@ -51,7 +51,7 @@ // Type definitions for Express 4.17 | ||
// tslint:disable-next-line callable-types (This is extended from and can't extend from a type alias in ts<2.2 | ||
(req: Request<P, ResBody, ReqBody, ReqQuery>, res: Response<ResBody>, next: NextFunction): any; | ||
(req: Request<P, ResBody, ReqBody, ReqQuery>, res: Response<ResBody>, next: NextFunction): void; | ||
} | ||
export type ErrorRequestHandler<P = ParamsDictionary, ResBody = any, ReqBody = any, ReqQuery = ParsedQs> = | ||
(err: any, req: Request<P, ResBody, ReqBody, ReqQuery>, res: Response<ResBody>, next: NextFunction) => any; | ||
(err: any, req: Request<P, ResBody, ReqBody, ReqQuery>, res: Response<ResBody>, next: NextFunction) => void; | ||
@@ -58,0 +58,0 @@ export type PathParams = string | RegExp | Array<string | RegExp>; |
{ | ||
"name": "@types/express-serve-static-core", | ||
"version": "4.17.13", | ||
"version": "4.17.14", | ||
"description": "TypeScript definitions for Express", | ||
@@ -61,4 +61,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "eb61bf4b2c6fe989b551b73f79148f4f208efb4aedcd8076a5262332bddb9300", | ||
"typeScriptVersion": "3.2" | ||
"typesPublisherContentHash": "3f4e3ad6901fa7efa969bb72f3f2e79f3bb4536bab4e4dc75d2f452a361d5cc2", | ||
"typeScriptVersion": "3.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 22 Sep 2020 00:22:02 GMT | ||
* Last updated: Mon, 23 Nov 2020 20:49:10 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 |
39687
0.01%