@types/node 18.18.11 → 18.18.13
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 v18.18/README.md +1 -1
- node v18.18/http2.d.ts +1 -0
- node v18.18/package.json +2 -2
- node v18.18/timers.d.ts +3 -3
- node v18.18/ts4.8/http2.d.ts +1 -0
- node v18.18/ts4.8/timers.d.ts +3 -3
- node v18.18/ts4.8/wasi.d.ts +1 -1
- node v18.18/wasi.d.ts +1 -1
node v18.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/v18.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, 23 Nov 2023 21:35:40 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
node v18.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 v18.18/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "18.18.
|
|
3
|
+
"version": "18.18.13",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
"dependencies": {
|
|
230
230
|
"undici-types": "~5.26.4"
|
|
231
231
|
},
|
|
232
|
-
"typesPublisherContentHash": "
|
|
232
|
+
"typesPublisherContentHash": "233d48af42c5a6a08c93c83e8dea73b8f8ed3a67b8d59d4d9af7d12e0e6c40de",
|
|
233
233
|
"typeScriptVersion": "4.5",
|
|
234
234
|
"nonNpm": true
|
|
235
235
|
}
|
node v18.18/timers.d.ts
CHANGED
|
@@ -89,7 +89,7 @@ declare module "timers" {
|
|
|
89
89
|
...args: TArgs
|
|
90
90
|
): NodeJS.Timeout;
|
|
91
91
|
// util.promisify no rest args compability
|
|
92
|
-
//
|
|
92
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
93
93
|
function setTimeout(callback: (args: void) => void, ms?: number): NodeJS.Timeout;
|
|
94
94
|
namespace setTimeout {
|
|
95
95
|
const __promisify__: typeof setTimeoutPromise;
|
|
@@ -101,7 +101,7 @@ declare module "timers" {
|
|
|
101
101
|
...args: TArgs
|
|
102
102
|
): NodeJS.Timeout;
|
|
103
103
|
// util.promisify no rest args compability
|
|
104
|
-
//
|
|
104
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
105
105
|
function setInterval(callback: (args: void) => void, ms?: number): NodeJS.Timeout;
|
|
106
106
|
namespace setInterval {
|
|
107
107
|
const __promisify__: typeof setIntervalPromise;
|
|
@@ -112,7 +112,7 @@ declare module "timers" {
|
|
|
112
112
|
...args: TArgs
|
|
113
113
|
): NodeJS.Immediate;
|
|
114
114
|
// util.promisify no rest args compability
|
|
115
|
-
//
|
|
115
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
116
116
|
function setImmediate(callback: (args: void) => void): NodeJS.Immediate;
|
|
117
117
|
namespace setImmediate {
|
|
118
118
|
const __promisify__: typeof setImmediatePromise;
|
node v18.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 v18.18/ts4.8/timers.d.ts
CHANGED
|
@@ -89,7 +89,7 @@ declare module "timers" {
|
|
|
89
89
|
...args: TArgs
|
|
90
90
|
): NodeJS.Timeout;
|
|
91
91
|
// util.promisify no rest args compability
|
|
92
|
-
//
|
|
92
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
93
93
|
function setTimeout(callback: (args: void) => void, ms?: number): NodeJS.Timeout;
|
|
94
94
|
namespace setTimeout {
|
|
95
95
|
const __promisify__: typeof setTimeoutPromise;
|
|
@@ -101,7 +101,7 @@ declare module "timers" {
|
|
|
101
101
|
...args: TArgs
|
|
102
102
|
): NodeJS.Timeout;
|
|
103
103
|
// util.promisify no rest args compability
|
|
104
|
-
//
|
|
104
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
105
105
|
function setInterval(callback: (args: void) => void, ms?: number): NodeJS.Timeout;
|
|
106
106
|
namespace setInterval {
|
|
107
107
|
const __promisify__: typeof setIntervalPromise;
|
|
@@ -112,7 +112,7 @@ declare module "timers" {
|
|
|
112
112
|
...args: TArgs
|
|
113
113
|
): NodeJS.Immediate;
|
|
114
114
|
// util.promisify no rest args compability
|
|
115
|
-
//
|
|
115
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
116
116
|
function setImmediate(callback: (args: void) => void): NodeJS.Immediate;
|
|
117
117
|
namespace setImmediate {
|
|
118
118
|
const __promisify__: typeof setImmediatePromise;
|
node v18.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 v18.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
|
*
|