@types/node 16.18.47 → 16.18.49
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 v16.18/README.md +1 -1
- node v16.18/async_hooks.d.ts +1 -0
- node v16.18/package.json +2 -2
- node v16.18/ts4.8/async_hooks.d.ts +1 -0
- node v16.18/ts4.8/util.d.ts +1 -1
- node v16.18/util.d.ts +1 -1
node v16.18/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/v16.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated: Fri,
|
|
11
|
+
* Last updated: Fri, 08 Sep 2023 20:33:17 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
node v16.18/async_hooks.d.ts
CHANGED
|
@@ -419,6 +419,7 @@ declare module 'async_hooks' {
|
|
|
419
419
|
* ```
|
|
420
420
|
* @since v13.10.0, v12.17.0
|
|
421
421
|
*/
|
|
422
|
+
run<R>(store: T, callback: () => R): R;
|
|
422
423
|
run<R, TArgs extends any[]>(store: T, callback: (...args: TArgs) => R, ...args: TArgs): R;
|
|
423
424
|
/**
|
|
424
425
|
* Runs a function synchronously outside of a context and returns its
|
node v16.18/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "16.18.
|
|
3
|
+
"version": "16.18.49",
|
|
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": "dcc62afdc7529246b46cb3e9ec25e5c46b2f68982b8f2ced05556842316f2add",
|
|
231
231
|
"typeScriptVersion": "4.3"
|
|
232
232
|
}
|
|
@@ -419,6 +419,7 @@ declare module 'async_hooks' {
|
|
|
419
419
|
* ```
|
|
420
420
|
* @since v13.10.0, v12.17.0
|
|
421
421
|
*/
|
|
422
|
+
run<R>(store: T, callback: () => R): R;
|
|
422
423
|
run<R, TArgs extends any[]>(store: T, callback: (...args: TArgs) => R, ...args: TArgs): R;
|
|
423
424
|
/**
|
|
424
425
|
* Runs a function synchronously outside of a context and returns its
|
node v16.18/ts4.8/util.d.ts
CHANGED
|
@@ -317,7 +317,7 @@ declare module 'util' {
|
|
|
317
317
|
* @return The representation of `object`.
|
|
318
318
|
*/
|
|
319
319
|
export function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string;
|
|
320
|
-
export function inspect(object: any, options
|
|
320
|
+
export function inspect(object: any, options?: InspectOptions): string;
|
|
321
321
|
export namespace inspect {
|
|
322
322
|
let colors: NodeJS.Dict<[number, number]>;
|
|
323
323
|
let styles: {
|
node v16.18/util.d.ts
CHANGED
|
@@ -317,7 +317,7 @@ declare module 'util' {
|
|
|
317
317
|
* @return The representation of `object`.
|
|
318
318
|
*/
|
|
319
319
|
export function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string;
|
|
320
|
-
export function inspect(object: any, options
|
|
320
|
+
export function inspect(object: any, options?: InspectOptions): string;
|
|
321
321
|
export namespace inspect {
|
|
322
322
|
let colors: NodeJS.Dict<[number, number]>;
|
|
323
323
|
let styles: {
|