@types/node 24.7.0 → 24.7.1

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.
Files changed (4) hide show
  1. node/README.md +1 -1
  2. node/globals.d.ts +2 -0
  3. node/http.d.ts +1 -1
  4. node/package.json +2 -2
node/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.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 06 Oct 2025 07:33:30 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
node/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/http.d.ts CHANGED
@@ -1452,7 +1452,7 @@ declare module "http" {
1452
1452
  https_proxy?: string | undefined;
1453
1453
  no_proxy?: string | undefined;
1454
1454
  }
1455
- interface AgentOptions extends Partial<TcpSocketConnectOpts> {
1455
+ interface AgentOptions extends NodeJS.PartialOptions<TcpSocketConnectOpts> {
1456
1456
  /**
1457
1457
  * Keep sockets around in a pool to be used by other requests in the future. Default = false
1458
1458
  */
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "24.7.0",
3
+ "version": "24.7.1",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -150,6 +150,6 @@
150
150
  "undici-types": "~7.14.0"
151
151
  },
152
152
  "peerDependencies": {},
153
- "typesPublisherContentHash": "cb817ed05b070456dfb7f285cfc14fb71b6bd7f9a892b8f34821bc93aaeaff95",
153
+ "typesPublisherContentHash": "3707c233ea107d992d9f52fba949c67a272356911b6089143bd81b83b0ebb9c3",
154
154
  "typeScriptVersion": "5.2"
155
155
  }