@types/node 22.18.8 → 22.18.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- node v22.18/README.md +1 -1
- node v22.18/globals.d.ts +2 -0
- node v22.18/http.d.ts +1 -1
- node v22.18/package.json +2 -2
node v22.18/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v22.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, 09 Oct 2025 17:35:09 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
node v22.18/globals.d.ts
CHANGED
|
@@ -143,6 +143,8 @@ declare namespace NodeJS {
|
|
|
143
143
|
readonly [key: string]: T | undefined;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
+
type PartialOptions<T> = { [K in keyof T]?: T[K] | undefined };
|
|
147
|
+
|
|
146
148
|
interface GCFunction {
|
|
147
149
|
(minor?: boolean): void;
|
|
148
150
|
(options: NodeJS.GCOptions & { execution: "async" }): Promise<void>;
|
node v22.18/http.d.ts
CHANGED
|
@@ -1419,7 +1419,7 @@ declare module "http" {
|
|
|
1419
1419
|
*/
|
|
1420
1420
|
destroy(error?: Error): this;
|
|
1421
1421
|
}
|
|
1422
|
-
interface AgentOptions extends
|
|
1422
|
+
interface AgentOptions extends NodeJS.PartialOptions<TcpSocketConnectOpts> {
|
|
1423
1423
|
/**
|
|
1424
1424
|
* Keep sockets around in a pool to be used by other requests in the future. Default = false
|
|
1425
1425
|
*/
|
node v22.18/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "22.18.
|
|
3
|
+
"version": "22.18.9",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -140,6 +140,6 @@
|
|
|
140
140
|
"undici-types": "~6.21.0"
|
|
141
141
|
},
|
|
142
142
|
"peerDependencies": {},
|
|
143
|
-
"typesPublisherContentHash": "
|
|
143
|
+
"typesPublisherContentHash": "6b0f459bde791c079af2fa491f14b70ca7fb1136572f3151dd7c0b899f68651c",
|
|
144
144
|
"typeScriptVersion": "5.2"
|
|
145
145
|
}
|