@types/node 14.18.7 → 15.0.1
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 v14.18 → node}/LICENSE +0 -0
- node/README.md +16 -0
- node/assert/strict.d.ts +4 -0
- node v14.18/assert.d.ts → node/assert.d.ts +8 -7
- node v14.18/async_hooks.d.ts → node/async_hooks.d.ts +11 -7
- node/base.d.ts +19 -0
- node/buffer.d.ts +26 -0
- node v14.18/child_process.d.ts → node/child_process.d.ts +71 -71
- node v14.18/cluster.d.ts → node/cluster.d.ts +17 -16
- node v14.18/console.d.ts → node/console.d.ts +17 -22
- node v14.18/constants.d.ts → node/constants.d.ts +9 -8
- node v14.18/crypto.d.ts → node/crypto.d.ts +139 -54
- node v14.18/dgram.d.ts → node/dgram.d.ts +24 -23
- node/dns/promises.d.ts +101 -0
- node/dns.d.ts +326 -0
- node v14.18/domain.d.ts → node/domain.d.ts +5 -4
- node v14.18/events.d.ts → node/events.d.ts +13 -8
- node v14.18/fs/promises.d.ts → node/fs/promises.d.ts +23 -30
- node v14.18/fs.d.ts → node/fs.d.ts +85 -97
- node v14.18/globals.d.ts → node/globals.d.ts +60 -24
- {node v14.18 → node}/globals.global.d.ts +0 -0
- node v14.18/http.d.ts → node/http.d.ts +114 -178
- node v14.18/http2.d.ts → node/http2.d.ts +86 -79
- node/https.d.ts +40 -0
- node v14.18/index.d.ts → node/index.d.ts +14 -55
- node v14.18/inspector.d.ts → node/inspector.d.ts +159 -162
- node v14.18/module.d.ts → node/module.d.ts +6 -5
- node v14.18/net.d.ts → node/net.d.ts +77 -45
- node v14.18/os.d.ts → node/os.d.ts +4 -3
- node v14.18/package.json → node/package.json +20 -19
- node v14.18/path.d.ts → node/path.d.ts +10 -9
- node v14.18/perf_hooks.d.ts → node/perf_hooks.d.ts +10 -9
- node v14.18/process.d.ts → node/process.d.ts +58 -18
- node v14.18/punycode.d.ts → node/punycode.d.ts +11 -3
- node v14.18/querystring.d.ts → node/querystring.d.ts +7 -6
- node v14.18/readline.d.ts → node/readline.d.ts +19 -19
- node v14.18/repl.d.ts → node/repl.d.ts +24 -23
- node/stream/promises.d.ts +71 -0
- node v14.18/stream.d.ts → node/stream.d.ts +170 -61
- node v14.18/string_decoder.d.ts → node/string_decoder.d.ts +4 -3
- node/timers/promises.d.ts +17 -0
- node v14.18/timers.d.ts → node/timers.d.ts +20 -5
- node v14.18/tls.d.ts → node/tls.d.ts +56 -57
- node v14.18/trace_events.d.ts → node/trace_events.d.ts +4 -3
- node/ts3.6/assert.d.ts +103 -0
- node/ts3.6/base.d.ts +66 -0
- node/ts3.6/index.d.ts +7 -0
- node v14.18/tty.d.ts → node/tty.d.ts +5 -4
- node v14.18/url.d.ts → node/url.d.ts +21 -20
- node v14.18/util.d.ts → node/util.d.ts +7 -12
- node v14.18/v8.d.ts → node/v8.d.ts +5 -4
- node v14.18/vm.d.ts → node/vm.d.ts +29 -28
- node v14.18/wasi.d.ts → node/wasi.d.ts +11 -10
- node v14.18/worker_threads.d.ts → node/worker_threads.d.ts +27 -23
- node v14.18/zlib.d.ts → node/zlib.d.ts +21 -20
- node v14.18/README.md +0 -16
- node v14.18/buffer.d.ts +0 -89
- node v14.18/dns.d.ts +0 -387
- node v14.18/https.d.ts +0 -142
|
@@ -1,51 +1,55 @@
|
|
|
1
|
+
declare module 'node:http2' {
|
|
2
|
+
export * from 'http2';
|
|
3
|
+
}
|
|
4
|
+
|
|
1
5
|
declare module 'http2' {
|
|
2
|
-
import EventEmitter = require('events');
|
|
3
|
-
import * as fs from 'fs';
|
|
4
|
-
import * as net from 'net';
|
|
5
|
-
import * as stream from 'stream';
|
|
6
|
-
import * as tls from 'tls';
|
|
7
|
-
import * as url from 'url';
|
|
6
|
+
import EventEmitter = require('node:events');
|
|
7
|
+
import * as fs from 'node:fs';
|
|
8
|
+
import * as net from 'node:net';
|
|
9
|
+
import * as stream from 'node:stream';
|
|
10
|
+
import * as tls from 'node:tls';
|
|
11
|
+
import * as url from 'node:url';
|
|
8
12
|
|
|
9
13
|
import {
|
|
10
14
|
IncomingHttpHeaders as Http1IncomingHttpHeaders,
|
|
11
15
|
OutgoingHttpHeaders,
|
|
12
16
|
IncomingMessage,
|
|
13
17
|
ServerResponse,
|
|
14
|
-
} from 'http';
|
|
15
|
-
export { OutgoingHttpHeaders } from 'http';
|
|
18
|
+
} from 'node:http';
|
|
19
|
+
export { OutgoingHttpHeaders } from 'node:http';
|
|
16
20
|
|
|
17
21
|
export interface IncomingHttpStatusHeader {
|
|
18
|
-
":status"?: number
|
|
22
|
+
":status"?: number;
|
|
19
23
|
}
|
|
20
24
|
|
|
21
25
|
export interface IncomingHttpHeaders extends Http1IncomingHttpHeaders {
|
|
22
|
-
":path"?: string
|
|
23
|
-
":method"?: string
|
|
24
|
-
":authority"?: string
|
|
25
|
-
":scheme"?: string
|
|
26
|
+
":path"?: string;
|
|
27
|
+
":method"?: string;
|
|
28
|
+
":authority"?: string;
|
|
29
|
+
":scheme"?: string;
|
|
26
30
|
}
|
|
27
31
|
|
|
28
32
|
// Http2Stream
|
|
29
33
|
|
|
30
34
|
export interface StreamPriorityOptions {
|
|
31
|
-
exclusive?: boolean
|
|
32
|
-
parent?: number
|
|
33
|
-
weight?: number
|
|
34
|
-
silent?: boolean
|
|
35
|
+
exclusive?: boolean;
|
|
36
|
+
parent?: number;
|
|
37
|
+
weight?: number;
|
|
38
|
+
silent?: boolean;
|
|
35
39
|
}
|
|
36
40
|
|
|
37
41
|
export interface StreamState {
|
|
38
|
-
localWindowSize?: number
|
|
39
|
-
state?: number
|
|
40
|
-
localClose?: number
|
|
41
|
-
remoteClose?: number
|
|
42
|
-
sumDependencyWeight?: number
|
|
43
|
-
weight?: number
|
|
42
|
+
localWindowSize?: number;
|
|
43
|
+
state?: number;
|
|
44
|
+
localClose?: number;
|
|
45
|
+
remoteClose?: number;
|
|
46
|
+
sumDependencyWeight?: number;
|
|
47
|
+
weight?: number;
|
|
44
48
|
}
|
|
45
49
|
|
|
46
50
|
export interface ServerStreamResponseOptions {
|
|
47
|
-
endStream?: boolean
|
|
48
|
-
waitForTrailers?: boolean
|
|
51
|
+
endStream?: boolean;
|
|
52
|
+
waitForTrailers?: boolean;
|
|
49
53
|
}
|
|
50
54
|
|
|
51
55
|
export interface StatOptions {
|
|
@@ -55,9 +59,9 @@ declare module 'http2' {
|
|
|
55
59
|
|
|
56
60
|
export interface ServerStreamFileResponseOptions {
|
|
57
61
|
statCheck?(stats: fs.Stats, headers: OutgoingHttpHeaders, statOptions: StatOptions): void | boolean;
|
|
58
|
-
waitForTrailers?: boolean
|
|
59
|
-
offset?: number
|
|
60
|
-
length?: number
|
|
62
|
+
waitForTrailers?: boolean;
|
|
63
|
+
offset?: number;
|
|
64
|
+
length?: number;
|
|
61
65
|
}
|
|
62
66
|
|
|
63
67
|
export interface ServerStreamFileResponseOptionsWithError extends ServerStreamFileResponseOptions {
|
|
@@ -74,12 +78,12 @@ declare module 'http2' {
|
|
|
74
78
|
* indicating that no additional data should be received and the readable side of the Http2Stream will be closed.
|
|
75
79
|
*/
|
|
76
80
|
readonly endAfterHeaders: boolean;
|
|
77
|
-
readonly id?: number
|
|
81
|
+
readonly id?: number;
|
|
78
82
|
readonly pending: boolean;
|
|
79
83
|
readonly rstCode: number;
|
|
80
84
|
readonly sentHeaders: OutgoingHttpHeaders;
|
|
81
|
-
readonly sentInfoHeaders?: OutgoingHttpHeaders[]
|
|
82
|
-
readonly sentTrailers?: OutgoingHttpHeaders
|
|
85
|
+
readonly sentInfoHeaders?: OutgoingHttpHeaders[];
|
|
86
|
+
readonly sentTrailers?: OutgoingHttpHeaders;
|
|
83
87
|
readonly session: Http2Session;
|
|
84
88
|
readonly state: StreamState;
|
|
85
89
|
|
|
@@ -237,43 +241,43 @@ declare module 'http2' {
|
|
|
237
241
|
// Http2Session
|
|
238
242
|
|
|
239
243
|
export interface Settings {
|
|
240
|
-
headerTableSize?: number
|
|
241
|
-
enablePush?: boolean
|
|
242
|
-
initialWindowSize?: number
|
|
243
|
-
maxFrameSize?: number
|
|
244
|
-
maxConcurrentStreams?: number
|
|
245
|
-
maxHeaderListSize?: number
|
|
246
|
-
enableConnectProtocol?: boolean
|
|
244
|
+
headerTableSize?: number;
|
|
245
|
+
enablePush?: boolean;
|
|
246
|
+
initialWindowSize?: number;
|
|
247
|
+
maxFrameSize?: number;
|
|
248
|
+
maxConcurrentStreams?: number;
|
|
249
|
+
maxHeaderListSize?: number;
|
|
250
|
+
enableConnectProtocol?: boolean;
|
|
247
251
|
}
|
|
248
252
|
|
|
249
253
|
export interface ClientSessionRequestOptions {
|
|
250
|
-
endStream?: boolean
|
|
251
|
-
exclusive?: boolean
|
|
252
|
-
parent?: number
|
|
253
|
-
weight?: number
|
|
254
|
-
waitForTrailers?: boolean
|
|
254
|
+
endStream?: boolean;
|
|
255
|
+
exclusive?: boolean;
|
|
256
|
+
parent?: number;
|
|
257
|
+
weight?: number;
|
|
258
|
+
waitForTrailers?: boolean;
|
|
255
259
|
}
|
|
256
260
|
|
|
257
261
|
export interface SessionState {
|
|
258
|
-
effectiveLocalWindowSize?: number
|
|
259
|
-
effectiveRecvDataLength?: number
|
|
260
|
-
nextStreamID?: number
|
|
261
|
-
localWindowSize?: number
|
|
262
|
-
lastProcStreamID?: number
|
|
263
|
-
remoteWindowSize?: number
|
|
264
|
-
outboundQueueSize?: number
|
|
265
|
-
deflateDynamicTableSize?: number
|
|
266
|
-
inflateDynamicTableSize?: number
|
|
262
|
+
effectiveLocalWindowSize?: number;
|
|
263
|
+
effectiveRecvDataLength?: number;
|
|
264
|
+
nextStreamID?: number;
|
|
265
|
+
localWindowSize?: number;
|
|
266
|
+
lastProcStreamID?: number;
|
|
267
|
+
remoteWindowSize?: number;
|
|
268
|
+
outboundQueueSize?: number;
|
|
269
|
+
deflateDynamicTableSize?: number;
|
|
270
|
+
inflateDynamicTableSize?: number;
|
|
267
271
|
}
|
|
268
272
|
|
|
269
273
|
export interface Http2Session extends EventEmitter {
|
|
270
|
-
readonly alpnProtocol?: string
|
|
274
|
+
readonly alpnProtocol?: string;
|
|
271
275
|
readonly closed: boolean;
|
|
272
276
|
readonly connecting: boolean;
|
|
273
277
|
readonly destroyed: boolean;
|
|
274
|
-
readonly encrypted?: boolean
|
|
278
|
+
readonly encrypted?: boolean;
|
|
275
279
|
readonly localSettings: Settings;
|
|
276
|
-
readonly originSet?: string[]
|
|
280
|
+
readonly originSet?: string[];
|
|
277
281
|
readonly pendingSettingsAck: boolean;
|
|
278
282
|
readonly remoteSettings: Settings;
|
|
279
283
|
readonly socket: net.Socket | tls.TLSSocket;
|
|
@@ -430,30 +434,30 @@ declare module 'http2' {
|
|
|
430
434
|
// Http2Server
|
|
431
435
|
|
|
432
436
|
export interface SessionOptions {
|
|
433
|
-
maxDeflateDynamicTableSize?: number
|
|
434
|
-
maxSessionMemory?: number
|
|
435
|
-
maxHeaderListPairs?: number
|
|
436
|
-
maxOutstandingPings?: number
|
|
437
|
-
maxSendHeaderBlockLength?: number
|
|
438
|
-
paddingStrategy?: number
|
|
439
|
-
peerMaxConcurrentStreams?: number
|
|
440
|
-
settings?: Settings
|
|
437
|
+
maxDeflateDynamicTableSize?: number;
|
|
438
|
+
maxSessionMemory?: number;
|
|
439
|
+
maxHeaderListPairs?: number;
|
|
440
|
+
maxOutstandingPings?: number;
|
|
441
|
+
maxSendHeaderBlockLength?: number;
|
|
442
|
+
paddingStrategy?: number;
|
|
443
|
+
peerMaxConcurrentStreams?: number;
|
|
444
|
+
settings?: Settings;
|
|
441
445
|
|
|
442
446
|
selectPadding?(frameLen: number, maxFrameLen: number): number;
|
|
443
447
|
createConnection?(authority: url.URL, option: SessionOptions): stream.Duplex;
|
|
444
448
|
}
|
|
445
449
|
|
|
446
450
|
export interface ClientSessionOptions extends SessionOptions {
|
|
447
|
-
maxReservedRemoteStreams?: number
|
|
448
|
-
createConnection?: (
|
|
449
|
-
protocol?: 'http:' | 'https:'
|
|
451
|
+
maxReservedRemoteStreams?: number;
|
|
452
|
+
createConnection?: (authority: url.URL, option: SessionOptions) => stream.Duplex;
|
|
453
|
+
protocol?: 'http:' | 'https:';
|
|
450
454
|
}
|
|
451
455
|
|
|
452
456
|
export interface ServerSessionOptions extends SessionOptions {
|
|
453
|
-
Http1IncomingMessage?: typeof IncomingMessage
|
|
454
|
-
Http1ServerResponse?: typeof ServerResponse
|
|
455
|
-
Http2ServerRequest?: typeof Http2ServerRequest
|
|
456
|
-
Http2ServerResponse?: typeof Http2ServerResponse
|
|
457
|
+
Http1IncomingMessage?: typeof IncomingMessage;
|
|
458
|
+
Http1ServerResponse?: typeof ServerResponse;
|
|
459
|
+
Http2ServerRequest?: typeof Http2ServerRequest;
|
|
460
|
+
Http2ServerResponse?: typeof Http2ServerResponse;
|
|
457
461
|
}
|
|
458
462
|
|
|
459
463
|
export interface SecureClientSessionOptions extends ClientSessionOptions, tls.ConnectionOptions { }
|
|
@@ -462,8 +466,8 @@ declare module 'http2' {
|
|
|
462
466
|
export interface ServerOptions extends ServerSessionOptions { }
|
|
463
467
|
|
|
464
468
|
export interface SecureServerOptions extends SecureServerSessionOptions {
|
|
465
|
-
allowHTTP1?: boolean
|
|
466
|
-
origins?: string[]
|
|
469
|
+
allowHTTP1?: boolean;
|
|
470
|
+
origins?: string[];
|
|
467
471
|
}
|
|
468
472
|
|
|
469
473
|
export interface Http2Server extends net.Server {
|
|
@@ -594,7 +598,7 @@ declare module 'http2' {
|
|
|
594
598
|
readonly socket: net.Socket | tls.TLSSocket;
|
|
595
599
|
readonly stream: ServerHttp2Stream;
|
|
596
600
|
readonly trailers: IncomingHttpHeaders;
|
|
597
|
-
url: string;
|
|
601
|
+
readonly url: string;
|
|
598
602
|
|
|
599
603
|
setTimeout(msecs: number, callback?: () => void): void;
|
|
600
604
|
read(size?: number): Buffer | string | null;
|
|
@@ -660,9 +664,9 @@ declare module 'http2' {
|
|
|
660
664
|
statusCode: number;
|
|
661
665
|
statusMessage: '';
|
|
662
666
|
addTrailers(trailers: OutgoingHttpHeaders): void;
|
|
663
|
-
end(callback?: () => void):
|
|
664
|
-
end(data: string | Uint8Array, callback?: () => void):
|
|
665
|
-
end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void):
|
|
667
|
+
end(callback?: () => void): void;
|
|
668
|
+
end(data: string | Uint8Array, callback?: () => void): void;
|
|
669
|
+
end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void): void;
|
|
666
670
|
getHeader(name: string): string;
|
|
667
671
|
getHeaderNames(): string[];
|
|
668
672
|
getHeaders(): OutgoingHttpHeaders;
|
|
@@ -939,6 +943,12 @@ declare module 'http2' {
|
|
|
939
943
|
const HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED: number;
|
|
940
944
|
}
|
|
941
945
|
|
|
946
|
+
/**
|
|
947
|
+
* This symbol can be set as a property on the HTTP/2 headers object with
|
|
948
|
+
* an array value in order to provide a list of headers considered sensitive.
|
|
949
|
+
*/
|
|
950
|
+
export const sensitiveHeaders: symbol;
|
|
951
|
+
|
|
942
952
|
export function getDefaultSettings(): Settings;
|
|
943
953
|
export function getPackedSettings(settings: Settings): Buffer;
|
|
944
954
|
export function getUnpackedSettings(buf: Uint8Array): Settings;
|
|
@@ -956,6 +966,3 @@ declare module 'http2' {
|
|
|
956
966
|
listener?: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void
|
|
957
967
|
): ClientHttp2Session;
|
|
958
968
|
}
|
|
959
|
-
declare module 'node:http2' {
|
|
960
|
-
export * from 'http2';
|
|
961
|
-
}
|
node/https.d.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare module 'node:https' {
|
|
2
|
+
export * from 'https';
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
declare module 'https' {
|
|
6
|
+
import * as tls from 'node:tls';
|
|
7
|
+
import * as http from 'node:http';
|
|
8
|
+
import { URL } from 'node:url';
|
|
9
|
+
|
|
10
|
+
type ServerOptions = tls.SecureContextOptions & tls.TlsOptions & http.ServerOptions;
|
|
11
|
+
|
|
12
|
+
type RequestOptions = http.RequestOptions & tls.SecureContextOptions & {
|
|
13
|
+
rejectUnauthorized?: boolean; // Defaults to true
|
|
14
|
+
servername?: string; // SNI TLS Extension
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions {
|
|
18
|
+
rejectUnauthorized?: boolean;
|
|
19
|
+
maxCachedSessions?: number;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
class Agent extends http.Agent {
|
|
23
|
+
constructor(options?: AgentOptions);
|
|
24
|
+
options: AgentOptions;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
interface Server extends http.HttpBase {}
|
|
28
|
+
class Server extends tls.Server {
|
|
29
|
+
constructor(requestListener?: http.RequestListener);
|
|
30
|
+
constructor(options: ServerOptions, requestListener?: http.RequestListener);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function createServer(requestListener?: http.RequestListener): Server;
|
|
34
|
+
function createServer(options: ServerOptions, requestListener?: http.RequestListener): Server;
|
|
35
|
+
function request(options: RequestOptions | string | URL, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
|
|
36
|
+
function request(url: string | URL, options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
|
|
37
|
+
function get(options: RequestOptions | string | URL, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
|
|
38
|
+
function get(url: string | URL, options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
|
|
39
|
+
let globalAgent: Agent;
|
|
40
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// Type definitions for non-npm package Node.js
|
|
2
|
-
// Project:
|
|
1
|
+
// Type definitions for non-npm package Node.js 15.0
|
|
2
|
+
// Project: http://nodejs.org/
|
|
3
3
|
// Definitions by: Microsoft TypeScript <https://github.com/Microsoft>
|
|
4
4
|
// DefinitelyTyped <https://github.com/DefinitelyTyped>
|
|
5
5
|
// Alberto Schiabel <https://github.com/jkomyno>
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
// Nikita Galkin <https://github.com/galkin>
|
|
23
23
|
// Parambir Singh <https://github.com/parambirs>
|
|
24
24
|
// Sebastian Silbermann <https://github.com/eps1lon>
|
|
25
|
-
// Seth Westphal <https://github.com/westy92>
|
|
26
25
|
// Simon Schick <https://github.com/SimonSchick>
|
|
27
26
|
// Thomas den Hollander <https://github.com/ThomasdenH>
|
|
28
27
|
// Wilco Bakker <https://github.com/WilcoBakker>
|
|
@@ -32,68 +31,28 @@
|
|
|
32
31
|
// Thanik Bhongbhibhat <https://github.com/bhongy>
|
|
33
32
|
// Marcin Kopacz <https://github.com/chyzwar>
|
|
34
33
|
// Trivikram Kamat <https://github.com/trivikr>
|
|
34
|
+
// Minh Son Nguyen <https://github.com/nguymin4>
|
|
35
35
|
// Junxiao Shi <https://github.com/yoursunny>
|
|
36
36
|
// Ilia Baryshnikov <https://github.com/qwelias>
|
|
37
37
|
// ExE Boss <https://github.com/ExE-Boss>
|
|
38
38
|
// Surasak Chaisurin <https://github.com/Ryan-Willpower>
|
|
39
39
|
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
|
40
40
|
// Anna Henningsen <https://github.com/addaleax>
|
|
41
|
+
// Jason Kwok <https://github.com/JasonHK>
|
|
41
42
|
// Victor Perin <https://github.com/victorperin>
|
|
42
43
|
// Yongsheng Zhang <https://github.com/ZYSzys>
|
|
43
|
-
// Bond <https://github.com/bondz>
|
|
44
|
-
// Linus Unnebäck <https://github.com/LinusU>
|
|
45
44
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
46
45
|
|
|
47
|
-
// NOTE: These definitions support NodeJS and TypeScript 3.7
|
|
46
|
+
// NOTE: These definitions support NodeJS and TypeScript 3.7.
|
|
47
|
+
// Typically type modifications should be made in base.d.ts instead of here
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
/// <reference lib="es2018" />
|
|
51
|
-
/// <reference lib="esnext.asynciterable" />
|
|
52
|
-
/// <reference lib="esnext.intl" />
|
|
53
|
-
/// <reference lib="esnext.bigint" />
|
|
49
|
+
/// <reference path="base.d.ts" />
|
|
54
50
|
|
|
55
|
-
//
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
/// <reference path="buffer.d.ts" />
|
|
60
|
-
/// <reference path="child_process.d.ts" />
|
|
61
|
-
/// <reference path="cluster.d.ts" />
|
|
62
|
-
/// <reference path="console.d.ts" />
|
|
63
|
-
/// <reference path="constants.d.ts" />
|
|
64
|
-
/// <reference path="crypto.d.ts" />
|
|
65
|
-
/// <reference path="dgram.d.ts" />
|
|
66
|
-
/// <reference path="dns.d.ts" />
|
|
67
|
-
/// <reference path="domain.d.ts" />
|
|
68
|
-
/// <reference path="events.d.ts" />
|
|
69
|
-
/// <reference path="fs.d.ts" />
|
|
70
|
-
/// <reference path="fs/promises.d.ts" />
|
|
71
|
-
/// <reference path="http.d.ts" />
|
|
72
|
-
/// <reference path="http2.d.ts" />
|
|
73
|
-
/// <reference path="https.d.ts" />
|
|
74
|
-
/// <reference path="inspector.d.ts" />
|
|
75
|
-
/// <reference path="module.d.ts" />
|
|
76
|
-
/// <reference path="net.d.ts" />
|
|
77
|
-
/// <reference path="os.d.ts" />
|
|
78
|
-
/// <reference path="path.d.ts" />
|
|
79
|
-
/// <reference path="perf_hooks.d.ts" />
|
|
80
|
-
/// <reference path="process.d.ts" />
|
|
81
|
-
/// <reference path="punycode.d.ts" />
|
|
82
|
-
/// <reference path="querystring.d.ts" />
|
|
83
|
-
/// <reference path="readline.d.ts" />
|
|
84
|
-
/// <reference path="repl.d.ts" />
|
|
85
|
-
/// <reference path="stream.d.ts" />
|
|
86
|
-
/// <reference path="string_decoder.d.ts" />
|
|
87
|
-
/// <reference path="timers.d.ts" />
|
|
88
|
-
/// <reference path="tls.d.ts" />
|
|
89
|
-
/// <reference path="trace_events.d.ts" />
|
|
90
|
-
/// <reference path="tty.d.ts" />
|
|
91
|
-
/// <reference path="url.d.ts" />
|
|
92
|
-
/// <reference path="util.d.ts" />
|
|
93
|
-
/// <reference path="v8.d.ts" />
|
|
94
|
-
/// <reference path="vm.d.ts" />
|
|
95
|
-
/// <reference path="wasi.d.ts" />
|
|
96
|
-
/// <reference path="worker_threads.d.ts" />
|
|
97
|
-
/// <reference path="zlib.d.ts" />
|
|
51
|
+
// NOTE: TypeScript version-specific augmentations can be found in the following paths:
|
|
52
|
+
// - ~/base.d.ts - Shared definitions common to all TypeScript versions
|
|
53
|
+
// - ~/index.d.ts - Definitions specific to TypeScript 2.8
|
|
54
|
+
// - ~/ts3.5/index.d.ts - Definitions specific to TypeScript 3.5
|
|
98
55
|
|
|
99
|
-
|
|
56
|
+
// NOTE: Augmentations for TypeScript 3.5 and later should use individual files for overrides
|
|
57
|
+
// within the respective ~/ts3.5 (or later) folder. However, this is disallowed for versions
|
|
58
|
+
// prior to TypeScript 3.5, so the older definitions will be found here.
|