@types/node 18.19.129 → 18.19.130

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 v18.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/v18.
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 v18.19/http.d.ts CHANGED
@@ -1398,7 +1398,7 @@ declare module "http" {
1398
1398
  */
1399
1399
  destroy(error?: Error): this;
1400
1400
  }
1401
- interface AgentOptions extends Partial<TcpSocketConnectOpts> {
1401
+ interface AgentOptions extends NodeJS.PartialOptions<TcpSocketConnectOpts> {
1402
1402
  /**
1403
1403
  * Keep sockets around in a pool to be used by other requests in the future. Default = false
1404
1404
  */
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.19.129",
3
+ "version": "18.19.130",
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": "~5.26.4"
141
141
  },
142
142
  "peerDependencies": {},
143
- "typesPublisherContentHash": "5268f34ded8d8d019f21d1a511a77ff2bdab3fa6a2fdd75cff9bf4c87f0f8a10",
143
+ "typesPublisherContentHash": "d50df4947deb7ea86d34f1212bab8dcd17f34a0a6d3cc9b0b6d42a948572c0cb",
144
144
  "typeScriptVersion": "5.2"
145
145
  }