@types/node 24.0.2 → 24.0.3

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/assert.d.ts +3 -1
  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: Mon, 16 Jun 2025 08:40:15 GMT
11
+ * Last updated: Mon, 16 Jun 2025 11:02:21 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node/assert.d.ts CHANGED
@@ -79,7 +79,9 @@ declare module "assert" {
79
79
  * @return A function that wraps `fn`.
80
80
  */
81
81
  calls(exact?: number): () => void;
82
- calls<Func extends (...args: any[]) => any>(fn?: Func, exact?: number): Func;
82
+ calls(fn: undefined, exact?: number): () => void;
83
+ calls<Func extends (...args: any[]) => any>(fn: Func, exact?: number): Func;
84
+ calls<Func extends (...args: any[]) => any>(fn?: Func, exact?: number): Func | (() => void);
83
85
  /**
84
86
  * Example:
85
87
  *
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "24.0.2",
3
+ "version": "24.0.3",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -230,6 +230,6 @@
230
230
  "undici-types": "~7.8.0"
231
231
  },
232
232
  "peerDependencies": {},
233
- "typesPublisherContentHash": "eac1d5a6632a9e91296cc382c96c064b09bec57183f927267493e052bbc394e8",
233
+ "typesPublisherContentHash": "50346638d9eb4e5a9d98e4739a4c05900502bd5d0a2347843c47ea6fc70a2638",
234
234
  "typeScriptVersion": "5.1"
235
235
  }