@types/node 16.18.63 → 16.18.65
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/http2.d.ts +1 -0
- node v16.18/package.json +2 -2
- node v16.18/timers.d.ts +3 -3
- node v16.18/ts4.8/http2.d.ts +1 -0
- node v16.18/ts4.8/timers.d.ts +3 -3
- node v16.18/ts4.8/wasi.d.ts +1 -1
- node v16.18/wasi.d.ts +1 -1
node v16.18/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/v16.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, 23 Nov 2023 21:35:40 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
node v16.18/http2.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ declare module "http2" {
|
|
|
55
55
|
length: number;
|
|
56
56
|
}
|
|
57
57
|
export interface ServerStreamFileResponseOptions {
|
|
58
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
58
59
|
statCheck?(stats: fs.Stats, headers: OutgoingHttpHeaders, statOptions: StatOptions): void | boolean;
|
|
59
60
|
waitForTrailers?: boolean | undefined;
|
|
60
61
|
offset?: number | undefined;
|
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.65",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
},
|
|
223
223
|
"scripts": {},
|
|
224
224
|
"dependencies": {},
|
|
225
|
-
"typesPublisherContentHash": "
|
|
225
|
+
"typesPublisherContentHash": "23d7f1b59470e757e9debf402303c76e17856bba7895424ded9f355bd392124d",
|
|
226
226
|
"typeScriptVersion": "4.5",
|
|
227
227
|
"nonNpm": true
|
|
228
228
|
}
|
node v16.18/timers.d.ts
CHANGED
|
@@ -72,7 +72,7 @@ declare module "timers" {
|
|
|
72
72
|
...args: TArgs
|
|
73
73
|
): NodeJS.Timeout;
|
|
74
74
|
// util.promisify no rest args compability
|
|
75
|
-
//
|
|
75
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
76
76
|
function setTimeout(callback: (args: void) => void, ms?: number): NodeJS.Timeout;
|
|
77
77
|
namespace setTimeout {
|
|
78
78
|
const __promisify__: typeof setTimeoutPromise;
|
|
@@ -84,7 +84,7 @@ declare module "timers" {
|
|
|
84
84
|
...args: TArgs
|
|
85
85
|
): NodeJS.Timer;
|
|
86
86
|
// util.promisify no rest args compability
|
|
87
|
-
//
|
|
87
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
88
88
|
function setInterval(callback: (args: void) => void, ms?: number): NodeJS.Timer;
|
|
89
89
|
namespace setInterval {
|
|
90
90
|
const __promisify__: typeof setIntervalPromise;
|
|
@@ -95,7 +95,7 @@ declare module "timers" {
|
|
|
95
95
|
...args: TArgs
|
|
96
96
|
): NodeJS.Immediate;
|
|
97
97
|
// util.promisify no rest args compability
|
|
98
|
-
//
|
|
98
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
99
99
|
function setImmediate(callback: (args: void) => void): NodeJS.Immediate;
|
|
100
100
|
namespace setImmediate {
|
|
101
101
|
const __promisify__: typeof setImmediatePromise;
|
node v16.18/ts4.8/http2.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ declare module "http2" {
|
|
|
55
55
|
length: number;
|
|
56
56
|
}
|
|
57
57
|
export interface ServerStreamFileResponseOptions {
|
|
58
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
58
59
|
statCheck?(stats: fs.Stats, headers: OutgoingHttpHeaders, statOptions: StatOptions): void | boolean;
|
|
59
60
|
waitForTrailers?: boolean | undefined;
|
|
60
61
|
offset?: number | undefined;
|
node v16.18/ts4.8/timers.d.ts
CHANGED
|
@@ -72,7 +72,7 @@ declare module "timers" {
|
|
|
72
72
|
...args: TArgs
|
|
73
73
|
): NodeJS.Timeout;
|
|
74
74
|
// util.promisify no rest args compability
|
|
75
|
-
//
|
|
75
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
76
76
|
function setTimeout(callback: (args: void) => void, ms?: number): NodeJS.Timeout;
|
|
77
77
|
namespace setTimeout {
|
|
78
78
|
const __promisify__: typeof setTimeoutPromise;
|
|
@@ -84,7 +84,7 @@ declare module "timers" {
|
|
|
84
84
|
...args: TArgs
|
|
85
85
|
): NodeJS.Timer;
|
|
86
86
|
// util.promisify no rest args compability
|
|
87
|
-
//
|
|
87
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
88
88
|
function setInterval(callback: (args: void) => void, ms?: number): NodeJS.Timer;
|
|
89
89
|
namespace setInterval {
|
|
90
90
|
const __promisify__: typeof setIntervalPromise;
|
|
@@ -95,7 +95,7 @@ declare module "timers" {
|
|
|
95
95
|
...args: TArgs
|
|
96
96
|
): NodeJS.Immediate;
|
|
97
97
|
// util.promisify no rest args compability
|
|
98
|
-
//
|
|
98
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
99
99
|
function setImmediate(callback: (args: void) => void): NodeJS.Immediate;
|
|
100
100
|
namespace setImmediate {
|
|
101
101
|
const __promisify__: typeof setImmediatePromise;
|
node v16.18/ts4.8/wasi.d.ts
CHANGED
|
@@ -133,7 +133,7 @@ declare module "wasi" {
|
|
|
133
133
|
* If `start()` is called more than once, an exception is thrown.
|
|
134
134
|
* @since v13.3.0, v12.16.0
|
|
135
135
|
*/
|
|
136
|
-
start(instance: object):
|
|
136
|
+
start(instance: object): number; // TODO: avoid DOM dependency until WASM moved to own lib.
|
|
137
137
|
/**
|
|
138
138
|
* Attempt to initialize `instance` as a WASI reactor by invoking its`_initialize()` export, if it is present. If `instance` contains a `_start()`export, then an exception is thrown.
|
|
139
139
|
*
|
node v16.18/wasi.d.ts
CHANGED
|
@@ -133,7 +133,7 @@ declare module "wasi" {
|
|
|
133
133
|
* If `start()` is called more than once, an exception is thrown.
|
|
134
134
|
* @since v13.3.0, v12.16.0
|
|
135
135
|
*/
|
|
136
|
-
start(instance: object):
|
|
136
|
+
start(instance: object): number; // TODO: avoid DOM dependency until WASM moved to own lib.
|
|
137
137
|
/**
|
|
138
138
|
* Attempt to initialize `instance` as a WASI reactor by invoking its`_initialize()` export, if it is present. If `instance` contains a `_start()`export, then an exception is thrown.
|
|
139
139
|
*
|