@types/express-serve-static-core
Advanced tools
Comparing version 4.17.39 to 4.17.40
@@ -111,2 +111,3 @@ // This extracts the core definitions from express to prevent a circular dependency between express and serve-static | ||
/* eslint-disable @definitelytyped/no-unnecessary-generics */ | ||
export interface IRouterMatcher< | ||
@@ -125,6 +126,4 @@ T, | ||
// (it's used as the default type parameter for P) | ||
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics | ||
path: Route, | ||
// (This generic is meant to be passed explicitly.) | ||
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics | ||
...handlers: Array<RequestHandler<P, ResBody, ReqBody, ReqQuery, LocalsObj>> | ||
@@ -141,6 +140,4 @@ ): T; | ||
// (it's used as the default type parameter for P) | ||
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics | ||
path: Path, | ||
// (This generic is meant to be passed explicitly.) | ||
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics | ||
...handlers: Array<RequestHandlerParams<P, ResBody, ReqBody, ReqQuery, LocalsObj>> | ||
@@ -157,3 +154,2 @@ ): T; | ||
// (This generic is meant to be passed explicitly.) | ||
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics | ||
...handlers: Array<RequestHandler<P, ResBody, ReqBody, ReqQuery, LocalsObj>> | ||
@@ -170,3 +166,2 @@ ): T; | ||
// (This generic is meant to be passed explicitly.) | ||
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics | ||
...handlers: Array<RequestHandlerParams<P, ResBody, ReqBody, ReqQuery, LocalsObj>> | ||
@@ -225,2 +220,3 @@ ): T; | ||
} | ||
/* eslint-enable @definitelytyped/no-unnecessary-generics */ | ||
@@ -227,0 +223,0 @@ export interface IRouter extends RequestHandler { |
{ | ||
"name": "@types/express-serve-static-core", | ||
"version": "4.17.39", | ||
"version": "4.17.40", | ||
"description": "TypeScript definitions for express-serve-static-core", | ||
@@ -53,4 +53,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-serve-static-core", | ||
}, | ||
"typesPublisherContentHash": "d5c7ccf133c44633f4c38bf4ae01e30755af3e96994de20698658b1715be77bd", | ||
"typesPublisherContentHash": "7b5122b93bc76f6174d4842d78858418a4469672f09701d37c18b01ed189cc0d", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 19 Oct 2023 17:17:33 GMT | ||
* Last updated: Mon, 06 Nov 2023 19:41:13 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node), [@types/qs](https://npmjs.com/package/@types/qs), [@types/range-parser](https://npmjs.com/package/@types/range-parser), [@types/send](https://npmjs.com/package/@types/send) | ||
@@ -14,0 +14,0 @@ |
44854
1138