@types/node 20.4.9 → 20.4.10
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 +10 -0
- node/ts4.8/test.d.ts +10 -0
node/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (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: Fri, 11 Aug 2023 19:32:47 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
|
|
14
14
|
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "20.4.
|
|
3
|
+
"version": "20.4.10",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -227,6 +227,6 @@
|
|
|
227
227
|
},
|
|
228
228
|
"scripts": {},
|
|
229
229
|
"dependencies": {},
|
|
230
|
-
"typesPublisherContentHash": "
|
|
230
|
+
"typesPublisherContentHash": "ab8936d8ab7c8e19ee6116553fef5551d895d64cdaa027308b2a4f33e0c6c024",
|
|
231
231
|
"typeScriptVersion": "4.3"
|
|
232
232
|
}
|
node/test.d.ts
CHANGED
|
@@ -1241,6 +1241,11 @@ interface TestFail {
|
|
|
1241
1241
|
* The error thrown by the test.
|
|
1242
1242
|
*/
|
|
1243
1243
|
error: Error;
|
|
1244
|
+
/**
|
|
1245
|
+
* The type of the test, used to denote whether this is a suite.
|
|
1246
|
+
* @since 20.0.0, 19.9.0, 18.17.0
|
|
1247
|
+
*/
|
|
1248
|
+
type?: 'suite';
|
|
1244
1249
|
};
|
|
1245
1250
|
/**
|
|
1246
1251
|
* The test name.
|
|
@@ -1276,6 +1281,11 @@ interface TestPass {
|
|
|
1276
1281
|
* The duration of the test in milliseconds.
|
|
1277
1282
|
*/
|
|
1278
1283
|
duration_ms: number;
|
|
1284
|
+
/**
|
|
1285
|
+
* The type of the test, used to denote whether this is a suite.
|
|
1286
|
+
* @since 20.0.0, 19.9.0, 18.17.0
|
|
1287
|
+
*/
|
|
1288
|
+
type?: 'suite';
|
|
1279
1289
|
};
|
|
1280
1290
|
/**
|
|
1281
1291
|
* The test name.
|
node/ts4.8/test.d.ts
CHANGED
|
@@ -1223,6 +1223,11 @@ interface TestFail {
|
|
|
1223
1223
|
* The error thrown by the test.
|
|
1224
1224
|
*/
|
|
1225
1225
|
error: Error;
|
|
1226
|
+
/**
|
|
1227
|
+
* The type of the test, used to denote whether this is a suite.
|
|
1228
|
+
* @since 20.0.0, 19.9.0, 18.17.0
|
|
1229
|
+
*/
|
|
1230
|
+
type?: 'suite';
|
|
1226
1231
|
};
|
|
1227
1232
|
/**
|
|
1228
1233
|
* The test name.
|
|
@@ -1258,6 +1263,11 @@ interface TestPass {
|
|
|
1258
1263
|
* The duration of the test in milliseconds.
|
|
1259
1264
|
*/
|
|
1260
1265
|
duration_ms: number;
|
|
1266
|
+
/**
|
|
1267
|
+
* The type of the test, used to denote whether this is a suite.
|
|
1268
|
+
* @since 20.0.0, 19.9.0, 18.17.0
|
|
1269
|
+
*/
|
|
1270
|
+
type?: 'suite';
|
|
1261
1271
|
};
|
|
1262
1272
|
/**
|
|
1263
1273
|
* The test name.
|