@types/node 22.13.10 → 22.13.11

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 (3) hide show
  1. node/README.md +1 -1
  2. node/http.d.ts +2 -2
  3. 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: Sat, 08 Mar 2025 07:02:57 GMT
11
+ * Last updated: Fri, 21 Mar 2025 09:02:30 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node/http.d.ts CHANGED
@@ -342,8 +342,8 @@ declare module "http" {
342
342
  * @since v0.9.12
343
343
  * @param [msecs=0 (no timeout)]
344
344
  */
345
- setTimeout(msecs?: number, callback?: () => void): this;
346
- setTimeout(callback: () => void): this;
345
+ setTimeout(msecs?: number, callback?: (socket: Socket) => void): this;
346
+ setTimeout(callback: (socket: Socket) => void): this;
347
347
  /**
348
348
  * Limits maximum incoming headers count. If set to 0, no limit will be applied.
349
349
  * @since v0.7.0
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "22.13.10",
3
+ "version": "22.13.11",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -215,6 +215,6 @@
215
215
  "undici-types": "~6.20.0"
216
216
  },
217
217
  "peerDependencies": {},
218
- "typesPublisherContentHash": "25fcca4abf7a12f9be2302bc659011d734e5385c4d6aa230045dc3f241321494",
218
+ "typesPublisherContentHash": "812d15ec68d013ee27092354d15434e7951dd8026136cfe0ae57e6d3e736802f",
219
219
  "typeScriptVersion": "5.0"
220
220
  }