@types/node 20.19.0 → 20.19.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.
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: Fri, 06 Jun 2025 03:49:26 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 v20.19/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
  *
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.19.0",
3
+ "version": "20.19.1",
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.21.0"
216
216
  },
217
217
  "peerDependencies": {},
218
- "typesPublisherContentHash": "9ff3002c444137adbf46a444e8e7f187130fb26e40a4cabb38bf96d37cb95012",
218
+ "typesPublisherContentHash": "cc9b44df0c3d7290cabaa4b43a7a43cb4eda0119a979750949d8687b20ded030",
219
219
  "typeScriptVersion": "5.1"
220
220
  }