@types/node 20.19.19 → 20.19.20

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 v20.19/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/v20.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 30 Sep 2025 23:32:16 GMT
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
@@ -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 v20.19/http.d.ts CHANGED
@@ -1417,7 +1417,7 @@ declare module "http" {
1417
1417
  */
1418
1418
  destroy(error?: Error): this;
1419
1419
  }
1420
- interface AgentOptions extends Partial<TcpSocketConnectOpts> {
1420
+ interface AgentOptions extends NodeJS.PartialOptions<TcpSocketConnectOpts> {
1421
1421
  /**
1422
1422
  * Keep sockets around in a pool to be used by other requests in the future. Default = false
1423
1423
  */
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.19.19",
3
+ "version": "20.19.20",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -135,6 +135,6 @@
135
135
  "undici-types": "~6.21.0"
136
136
  },
137
137
  "peerDependencies": {},
138
- "typesPublisherContentHash": "f137b9afbfbc3918867ab07269ee57c43fa45f74d9054590bed60377448b37ef",
138
+ "typesPublisherContentHash": "e13807fd03d5145af88d2878aee5d370ed9f2a8ec17fd595c07841a1c49ce46d",
139
139
  "typeScriptVersion": "5.2"
140
140
  }