@types/node 20.9.3 → 20.9.4
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/http2.d.ts +1 -0
- node/package.json +2 -2
- node/timers.d.ts +3 -3
- node/ts4.8/http2.d.ts +1 -0
- node/ts4.8/timers.d.ts +3 -3
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: Wed, 22 Nov 2023 00:24:48 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
node/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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "20.9.
|
|
3
|
+
"version": "20.9.4",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
"dependencies": {
|
|
225
225
|
"undici-types": "~5.26.4"
|
|
226
226
|
},
|
|
227
|
-
"typesPublisherContentHash": "
|
|
227
|
+
"typesPublisherContentHash": "95411fad5f792ee5e5fa2a909e47e611c12b24e5092a93d58b48acf1e08ef869",
|
|
228
228
|
"typeScriptVersion": "4.5",
|
|
229
229
|
"nonNpm": true
|
|
230
230
|
}
|
node/timers.d.ts
CHANGED
|
@@ -155,7 +155,7 @@ declare module "timers" {
|
|
|
155
155
|
...args: TArgs
|
|
156
156
|
): NodeJS.Timeout;
|
|
157
157
|
// util.promisify no rest args compability
|
|
158
|
-
//
|
|
158
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
159
159
|
function setTimeout(callback: (args: void) => void, ms?: number): NodeJS.Timeout;
|
|
160
160
|
namespace setTimeout {
|
|
161
161
|
const __promisify__: typeof setTimeoutPromise;
|
|
@@ -187,7 +187,7 @@ declare module "timers" {
|
|
|
187
187
|
...args: TArgs
|
|
188
188
|
): NodeJS.Timeout;
|
|
189
189
|
// util.promisify no rest args compability
|
|
190
|
-
//
|
|
190
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
191
191
|
function setInterval(callback: (args: void) => void, ms?: number): NodeJS.Timeout;
|
|
192
192
|
namespace setInterval {
|
|
193
193
|
const __promisify__: typeof setIntervalPromise;
|
|
@@ -221,7 +221,7 @@ declare module "timers" {
|
|
|
221
221
|
...args: TArgs
|
|
222
222
|
): NodeJS.Immediate;
|
|
223
223
|
// util.promisify no rest args compability
|
|
224
|
-
//
|
|
224
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
225
225
|
function setImmediate(callback: (args: void) => void): NodeJS.Immediate;
|
|
226
226
|
namespace setImmediate {
|
|
227
227
|
const __promisify__: typeof setImmediatePromise;
|
node/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/ts4.8/timers.d.ts
CHANGED
|
@@ -155,7 +155,7 @@ declare module "timers" {
|
|
|
155
155
|
...args: TArgs
|
|
156
156
|
): NodeJS.Timeout;
|
|
157
157
|
// util.promisify no rest args compability
|
|
158
|
-
//
|
|
158
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
159
159
|
function setTimeout(callback: (args: void) => void, ms?: number): NodeJS.Timeout;
|
|
160
160
|
namespace setTimeout {
|
|
161
161
|
const __promisify__: typeof setTimeoutPromise;
|
|
@@ -187,7 +187,7 @@ declare module "timers" {
|
|
|
187
187
|
...args: TArgs
|
|
188
188
|
): NodeJS.Timeout;
|
|
189
189
|
// util.promisify no rest args compability
|
|
190
|
-
//
|
|
190
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
191
191
|
function setInterval(callback: (args: void) => void, ms?: number): NodeJS.Timeout;
|
|
192
192
|
namespace setInterval {
|
|
193
193
|
const __promisify__: typeof setIntervalPromise;
|
|
@@ -221,7 +221,7 @@ declare module "timers" {
|
|
|
221
221
|
...args: TArgs
|
|
222
222
|
): NodeJS.Immediate;
|
|
223
223
|
// util.promisify no rest args compability
|
|
224
|
-
//
|
|
224
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
225
225
|
function setImmediate(callback: (args: void) => void): NodeJS.Immediate;
|
|
226
226
|
namespace setImmediate {
|
|
227
227
|
const __promisify__: typeof setImmediatePromise;
|