@types/node 18.19.38 → 18.19.39

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: Thu, 20 Jun 2024 21:07:25 GMT
11
+ * Last updated: Sat, 22 Jun 2024 07:35:32 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.19.38",
3
+ "version": "18.19.39",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -217,6 +217,6 @@
217
217
  "dependencies": {
218
218
  "undici-types": "~5.26.4"
219
219
  },
220
- "typesPublisherContentHash": "cc599c07e2a574410f619799725fadb07e99312f7eadc180fb0a7a2e46c13fd1",
220
+ "typesPublisherContentHash": "85871cbefdb82570518b3d29a3251dfec5673c02d4cc1cdfb81278bb069bd220",
221
221
  "typeScriptVersion": "4.7"
222
222
  }
node v18.19/test.d.ts CHANGED
@@ -729,7 +729,7 @@ declare module "node:test" {
729
729
  * This function is used to change the behavior of an existing mock.
730
730
  * @param implementation The function to be used as the mock's new implementation.
731
731
  */
732
- mockImplementation(implementation: Function): void;
732
+ mockImplementation(implementation: F): void;
733
733
 
734
734
  /**
735
735
  * This function is used to change the behavior of an existing mock for a single invocation.
@@ -739,7 +739,7 @@ declare module "node:test" {
739
739
  * @param onCall The invocation number that will use `implementation`.
740
740
  * If the specified invocation has already occurred then an exception is thrown.
741
741
  */
742
- mockImplementationOnce(implementation: Function, onCall?: number): void;
742
+ mockImplementationOnce(implementation: F, onCall?: number): void;
743
743
 
744
744
  /**
745
745
  * Resets the call history of the mock function.