@types/node 20.14.7 → 20.14.8
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/README.md +1 -1
- node/package.json +2 -2
- node/test.d.ts +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:
|
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
|
node/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/node",
|
3
|
-
"version": "20.14.
|
3
|
+
"version": "20.14.8",
|
4
4
|
"description": "TypeScript definitions for node",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
6
6
|
"license": "MIT",
|
@@ -212,6 +212,6 @@
|
|
212
212
|
"dependencies": {
|
213
213
|
"undici-types": "~5.26.4"
|
214
214
|
},
|
215
|
-
"typesPublisherContentHash": "
|
215
|
+
"typesPublisherContentHash": "7f1c7cbbd4b01202220b325496b6a96822975f892d3eb44558ea7ffcf74ae32c",
|
216
216
|
"typeScriptVersion": "4.7"
|
217
217
|
}
|
node/test.d.ts
CHANGED
@@ -1031,7 +1031,7 @@ declare module "node:test" {
|
|
1031
1031
|
* @since v19.1.0, v18.13.0
|
1032
1032
|
* @param implementation The function to be used as the mock's new implementation.
|
1033
1033
|
*/
|
1034
|
-
mockImplementation(implementation:
|
1034
|
+
mockImplementation(implementation: F): void;
|
1035
1035
|
/**
|
1036
1036
|
* This function is used to change the behavior of an existing mock for a single
|
1037
1037
|
* invocation. Once invocation `onCall` has occurred, the mock will revert to
|
@@ -1068,7 +1068,7 @@ declare module "node:test" {
|
|
1068
1068
|
* @param implementation The function to be used as the mock's implementation for the invocation number specified by `onCall`.
|
1069
1069
|
* @param onCall The invocation number that will use `implementation`. If the specified invocation has already occurred then an exception is thrown.
|
1070
1070
|
*/
|
1071
|
-
mockImplementationOnce(implementation:
|
1071
|
+
mockImplementationOnce(implementation: F, onCall?: number): void;
|
1072
1072
|
/**
|
1073
1073
|
* Resets the call history of the mock function.
|
1074
1074
|
* @since v19.3.0, v18.13.0
|