@types/node
Advanced tools
Comparing version 16.18.107 to 16.18.108
@@ -13,5 +13,3 @@ /** | ||
Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, | ||
Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse< | ||
InstanceType<Request> | ||
>, | ||
Response extends typeof http.ServerResponse = typeof http.ServerResponse, | ||
> = tls.SecureContextOptions & tls.TlsOptions & http.ServerOptions<Request, Response>; | ||
@@ -40,5 +38,3 @@ type RequestOptions = | ||
Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, | ||
Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse< | ||
InstanceType<Request> | ||
>, | ||
Response extends typeof http.ServerResponse = typeof http.ServerResponse, | ||
> extends http.Server<Request, Response> {} | ||
@@ -51,5 +47,3 @@ /** | ||
Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, | ||
Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse< | ||
InstanceType<Request> | ||
>, | ||
Response extends typeof http.ServerResponse = typeof http.ServerResponse, | ||
> extends tls.Server { | ||
@@ -121,3 +115,3 @@ constructor(requestListener?: http.RequestListener<Request, Response>); | ||
req: InstanceType<Request>, | ||
res: InstanceType<Response>, | ||
res: InstanceType<Response> & { req: InstanceType<Request> }, | ||
): boolean; | ||
@@ -127,3 +121,3 @@ emit( | ||
req: InstanceType<Request>, | ||
res: InstanceType<Response>, | ||
res: InstanceType<Response> & { req: InstanceType<Request> }, | ||
): boolean; | ||
@@ -135,3 +129,3 @@ emit(event: "clientError", err: Error, socket: Duplex): boolean; | ||
req: InstanceType<Request>, | ||
res: InstanceType<Response>, | ||
res: InstanceType<Response> & { req: InstanceType<Request> }, | ||
): boolean; | ||
@@ -311,11 +305,7 @@ emit(event: "upgrade", req: InstanceType<Request>, socket: Duplex, head: Buffer): boolean; | ||
Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, | ||
Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse< | ||
InstanceType<Request> | ||
>, | ||
Response extends typeof http.ServerResponse = typeof http.ServerResponse, | ||
>(requestListener?: http.RequestListener<Request, Response>): Server<Request, Response>; | ||
function createServer< | ||
Request extends typeof http.IncomingMessage = typeof http.IncomingMessage, | ||
Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse< | ||
InstanceType<Request> | ||
>, | ||
Response extends typeof http.ServerResponse = typeof http.ServerResponse, | ||
>( | ||
@@ -322,0 +312,0 @@ options: ServerOptions<Request, Response>, |
{ | ||
"name": "@types/node", | ||
"version": "16.18.107", | ||
"version": "16.18.108", | ||
"description": "TypeScript definitions for node", | ||
@@ -213,4 +213,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "2e43ad1a49e4e03c340b7cddb756224a8aa3814562090f931c92dd3647a13e23", | ||
"typesPublisherContentHash": "eefbc030a82672d0a58c0ef369e7bc503e92d6ff5124e24b8b49696e86460e6a", | ||
"typeScriptVersion": "4.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 04 Sep 2024 00:28:08 GMT | ||
* Last updated: Wed, 04 Sep 2024 21:35:57 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1804542
40472
30
63
260