@types/node 14.14.30 → 14.14.34
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 +2 -2
- node/child_process.d.ts +13 -12
- node/globals.d.ts +5 -5
- node/index.d.ts +0 -2
- node/package.json +3 -18
- node/timers.d.ts +2 -2
- node/{ts3.4 → ts3.6}/assert.d.ts +0 -0
- node/ts3.6/base.d.ts +44 -5
- node/ts3.6/index.d.ts +1 -1
- node/ts3.4/base.d.ts +0 -56
- node/ts3.4/globals.global.d.ts +0 -1
- node/ts3.4/index.d.ts +0 -8
node/README.md
CHANGED
|
@@ -8,9 +8,9 @@ This package contains type definitions for Node.js (http://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: Fri,
|
|
11
|
+
* Last updated: Fri, 12 Mar 2021 12:00:46 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [
|
|
16
|
+
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Bruno Scheufler](https://github.com/brunoscheufler), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Hoàng Văn Khải](https://github.com/KSXGitHub), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Minh Son Nguyen](https://github.com/nguymin4), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Jason Kwok](https://github.com/JasonHK), [Victor Perin](https://github.com/victorperin), and [Yongsheng Zhang](https://github.com/ZYSzys).
|
node/child_process.d.ts
CHANGED
|
@@ -342,6 +342,7 @@ declare module 'child_process' {
|
|
|
342
342
|
interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions {
|
|
343
343
|
encoding: BufferEncoding;
|
|
344
344
|
}
|
|
345
|
+
type ExecFileException = ExecException & NodeJS.ErrnoException;
|
|
345
346
|
|
|
346
347
|
function execFile(file: string): ChildProcess;
|
|
347
348
|
function execFile(file: string, options: (BaseEncodingOptions & ExecFileOptions) | undefined | null): ChildProcess;
|
|
@@ -349,25 +350,25 @@ declare module 'child_process' {
|
|
|
349
350
|
function execFile(file: string, args: ReadonlyArray<string> | undefined | null, options: (BaseEncodingOptions & ExecFileOptions) | undefined | null): ChildProcess;
|
|
350
351
|
|
|
351
352
|
// no `options` definitely means stdout/stderr are `string`.
|
|
352
|
-
function execFile(file: string, callback: (error:
|
|
353
|
-
function execFile(file: string, args: ReadonlyArray<string> | undefined | null, callback: (error:
|
|
353
|
+
function execFile(file: string, callback: (error: ExecFileException | null, stdout: string, stderr: string) => void): ChildProcess;
|
|
354
|
+
function execFile(file: string, args: ReadonlyArray<string> | undefined | null, callback: (error: ExecFileException | null, stdout: string, stderr: string) => void): ChildProcess;
|
|
354
355
|
|
|
355
356
|
// `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
|
|
356
|
-
function execFile(file: string, options: ExecFileOptionsWithBufferEncoding, callback: (error:
|
|
357
|
+
function execFile(file: string, options: ExecFileOptionsWithBufferEncoding, callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void): ChildProcess;
|
|
357
358
|
function execFile(
|
|
358
359
|
file: string,
|
|
359
360
|
args: ReadonlyArray<string> | undefined | null,
|
|
360
361
|
options: ExecFileOptionsWithBufferEncoding,
|
|
361
|
-
callback: (error:
|
|
362
|
+
callback: (error: ExecFileException | null, stdout: Buffer, stderr: Buffer) => void,
|
|
362
363
|
): ChildProcess;
|
|
363
364
|
|
|
364
365
|
// `options` with well known `encoding` means stdout/stderr are definitely `string`.
|
|
365
|
-
function execFile(file: string, options: ExecFileOptionsWithStringEncoding, callback: (error:
|
|
366
|
+
function execFile(file: string, options: ExecFileOptionsWithStringEncoding, callback: (error: ExecFileException | null, stdout: string, stderr: string) => void): ChildProcess;
|
|
366
367
|
function execFile(
|
|
367
368
|
file: string,
|
|
368
369
|
args: ReadonlyArray<string> | undefined | null,
|
|
369
370
|
options: ExecFileOptionsWithStringEncoding,
|
|
370
|
-
callback: (error:
|
|
371
|
+
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void,
|
|
371
372
|
): ChildProcess;
|
|
372
373
|
|
|
373
374
|
// `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`.
|
|
@@ -375,35 +376,35 @@ declare module 'child_process' {
|
|
|
375
376
|
function execFile(
|
|
376
377
|
file: string,
|
|
377
378
|
options: ExecFileOptionsWithOtherEncoding,
|
|
378
|
-
callback: (error:
|
|
379
|
+
callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void,
|
|
379
380
|
): ChildProcess;
|
|
380
381
|
function execFile(
|
|
381
382
|
file: string,
|
|
382
383
|
args: ReadonlyArray<string> | undefined | null,
|
|
383
384
|
options: ExecFileOptionsWithOtherEncoding,
|
|
384
|
-
callback: (error:
|
|
385
|
+
callback: (error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void,
|
|
385
386
|
): ChildProcess;
|
|
386
387
|
|
|
387
388
|
// `options` without an `encoding` means stdout/stderr are definitely `string`.
|
|
388
|
-
function execFile(file: string, options: ExecFileOptions, callback: (error:
|
|
389
|
+
function execFile(file: string, options: ExecFileOptions, callback: (error: ExecFileException | null, stdout: string, stderr: string) => void): ChildProcess;
|
|
389
390
|
function execFile(
|
|
390
391
|
file: string,
|
|
391
392
|
args: ReadonlyArray<string> | undefined | null,
|
|
392
393
|
options: ExecFileOptions,
|
|
393
|
-
callback: (error:
|
|
394
|
+
callback: (error: ExecFileException | null, stdout: string, stderr: string) => void
|
|
394
395
|
): ChildProcess;
|
|
395
396
|
|
|
396
397
|
// fallback if nothing else matches. Worst case is always `string | Buffer`.
|
|
397
398
|
function execFile(
|
|
398
399
|
file: string,
|
|
399
400
|
options: (BaseEncodingOptions & ExecFileOptions) | undefined | null,
|
|
400
|
-
callback: ((error:
|
|
401
|
+
callback: ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void) | undefined | null,
|
|
401
402
|
): ChildProcess;
|
|
402
403
|
function execFile(
|
|
403
404
|
file: string,
|
|
404
405
|
args: ReadonlyArray<string> | undefined | null,
|
|
405
406
|
options: (BaseEncodingOptions & ExecFileOptions) | undefined | null,
|
|
406
|
-
callback: ((error:
|
|
407
|
+
callback: ((error: ExecFileException | null, stdout: string | Buffer, stderr: string | Buffer) => void) | undefined | null,
|
|
407
408
|
): ChildProcess;
|
|
408
409
|
|
|
409
410
|
// NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
|
node/globals.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ interface ErrorConstructor {
|
|
|
6
6
|
/**
|
|
7
7
|
* Optional override for formatting stack traces
|
|
8
8
|
*
|
|
9
|
-
* @see https://
|
|
9
|
+
* @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
|
10
10
|
*/
|
|
11
11
|
prepareStackTrace?: (err: Error, stackTraces: NodeJS.CallSite[]) => any;
|
|
12
12
|
|
|
@@ -47,13 +47,13 @@ declare var console: Console;
|
|
|
47
47
|
declare var __filename: string;
|
|
48
48
|
declare var __dirname: string;
|
|
49
49
|
|
|
50
|
-
declare function setTimeout(callback: (...args: any[]) => void, ms
|
|
50
|
+
declare function setTimeout(callback: (...args: any[]) => void, ms?: number, ...args: any[]): NodeJS.Timeout;
|
|
51
51
|
declare namespace setTimeout {
|
|
52
52
|
function __promisify__(ms: number): Promise<void>;
|
|
53
53
|
function __promisify__<T>(ms: number, value: T): Promise<T>;
|
|
54
54
|
}
|
|
55
55
|
declare function clearTimeout(timeoutId: NodeJS.Timeout): void;
|
|
56
|
-
declare function setInterval(callback: (...args: any[]) => void, ms
|
|
56
|
+
declare function setInterval(callback: (...args: any[]) => void, ms?: number, ...args: any[]): NodeJS.Timeout;
|
|
57
57
|
declare function clearInterval(intervalId: NodeJS.Timeout): void;
|
|
58
58
|
declare function setImmediate(callback: (...args: any[]) => void, ...args: any[]): NodeJS.Immediate;
|
|
59
59
|
declare namespace setImmediate {
|
|
@@ -519,8 +519,8 @@ declare namespace NodeJS {
|
|
|
519
519
|
parseFloat: typeof parseFloat;
|
|
520
520
|
parseInt: typeof parseInt;
|
|
521
521
|
setImmediate: (callback: (...args: any[]) => void, ...args: any[]) => Immediate;
|
|
522
|
-
setInterval: (callback: (...args: any[]) => void, ms
|
|
523
|
-
setTimeout: (callback: (...args: any[]) => void, ms
|
|
522
|
+
setInterval: (callback: (...args: any[]) => void, ms?: number, ...args: any[]) => Timeout;
|
|
523
|
+
setTimeout: (callback: (...args: any[]) => void, ms?: number, ...args: any[]) => Timeout;
|
|
524
524
|
queueMicrotask: typeof queueMicrotask;
|
|
525
525
|
undefined: typeof undefined;
|
|
526
526
|
unescape: (str: string) => string;
|
node/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
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>
|
|
6
|
-
// Alexander T. <https://github.com/a-tarasyuk>
|
|
7
6
|
// Alvis HT Tang <https://github.com/alvis>
|
|
8
7
|
// Andrew Makarov <https://github.com/r3nya>
|
|
9
8
|
// Benjamin Toueg <https://github.com/btoueg>
|
|
@@ -30,7 +29,6 @@
|
|
|
30
29
|
// wwwy3y3 <https://github.com/wwwy3y3>
|
|
31
30
|
// Samuel Ainsworth <https://github.com/samuela>
|
|
32
31
|
// Kyle Uehlein <https://github.com/kuehlein>
|
|
33
|
-
// Jordi Oliveras Rovira <https://github.com/j-oliveras>
|
|
34
32
|
// Thanik Bhongbhibhat <https://github.com/bhongy>
|
|
35
33
|
// Marcin Kopacz <https://github.com/chyzwar>
|
|
36
34
|
// Trivikram Kamat <https://github.com/trivikr>
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "14.14.
|
|
3
|
+
"version": "14.14.34",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -19,11 +19,6 @@
|
|
|
19
19
|
"url": "https://github.com/jkomyno",
|
|
20
20
|
"githubUsername": "jkomyno"
|
|
21
21
|
},
|
|
22
|
-
{
|
|
23
|
-
"name": "Alexander T.",
|
|
24
|
-
"url": "https://github.com/a-tarasyuk",
|
|
25
|
-
"githubUsername": "a-tarasyuk"
|
|
26
|
-
},
|
|
27
22
|
{
|
|
28
23
|
"name": "Alvis HT Tang",
|
|
29
24
|
"url": "https://github.com/alvis",
|
|
@@ -154,11 +149,6 @@
|
|
|
154
149
|
"url": "https://github.com/kuehlein",
|
|
155
150
|
"githubUsername": "kuehlein"
|
|
156
151
|
},
|
|
157
|
-
{
|
|
158
|
-
"name": "Jordi Oliveras Rovira",
|
|
159
|
-
"url": "https://github.com/j-oliveras",
|
|
160
|
-
"githubUsername": "j-oliveras"
|
|
161
|
-
},
|
|
162
152
|
{
|
|
163
153
|
"name": "Thanik Bhongbhibhat",
|
|
164
154
|
"url": "https://github.com/bhongy",
|
|
@@ -228,11 +218,6 @@
|
|
|
228
218
|
"main": "",
|
|
229
219
|
"types": "index.d.ts",
|
|
230
220
|
"typesVersions": {
|
|
231
|
-
"<=3.4": {
|
|
232
|
-
"*": [
|
|
233
|
-
"ts3.4/*"
|
|
234
|
-
]
|
|
235
|
-
},
|
|
236
221
|
"<=3.6": {
|
|
237
222
|
"*": [
|
|
238
223
|
"ts3.6/*"
|
|
@@ -246,6 +231,6 @@
|
|
|
246
231
|
},
|
|
247
232
|
"scripts": {},
|
|
248
233
|
"dependencies": {},
|
|
249
|
-
"typesPublisherContentHash": "
|
|
250
|
-
"typeScriptVersion": "3.
|
|
234
|
+
"typesPublisherContentHash": "6c06a8dfa10caa46b4f8bf0f63f13adf68799b1ac06b747bb66257dd32a452db",
|
|
235
|
+
"typeScriptVersion": "3.5"
|
|
251
236
|
}
|
node/timers.d.ts
CHANGED
|
@@ -3,13 +3,13 @@ declare module 'node:timers' {
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
declare module 'timers' {
|
|
6
|
-
function setTimeout(callback: (...args: any[]) => void, ms
|
|
6
|
+
function setTimeout(callback: (...args: any[]) => void, ms?: number, ...args: any[]): NodeJS.Timeout;
|
|
7
7
|
namespace setTimeout {
|
|
8
8
|
function __promisify__(ms: number): Promise<void>;
|
|
9
9
|
function __promisify__<T>(ms: number, value: T): Promise<T>;
|
|
10
10
|
}
|
|
11
11
|
function clearTimeout(timeoutId: NodeJS.Timeout): void;
|
|
12
|
-
function setInterval(callback: (...args: any[]) => void, ms
|
|
12
|
+
function setInterval(callback: (...args: any[]) => void, ms?: number, ...args: any[]): NodeJS.Timeout;
|
|
13
13
|
function clearInterval(intervalId: NodeJS.Timeout): void;
|
|
14
14
|
function setImmediate(callback: (...args: any[]) => void, ...args: any[]): NodeJS.Immediate;
|
|
15
15
|
namespace setImmediate {
|
node/{ts3.4 → ts3.6}/assert.d.ts
RENAMED
|
File without changes
|
node/ts3.6/base.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
// NOTE: These definitions support NodeJS and TypeScript 3.
|
|
1
|
+
// NOTE: These definitions support NodeJS and TypeScript 3.6 and earlier.
|
|
2
2
|
|
|
3
3
|
// NOTE: TypeScript version-specific augmentations can be found in the following paths:
|
|
4
4
|
// - ~/base.d.ts - Shared definitions common to all TypeScript versions
|
|
5
|
-
// - ~/index.d.ts - Definitions specific to TypeScript
|
|
6
|
-
// - ~/ts3.5/base.d.ts - Definitions specific to TypeScript 3.
|
|
7
|
-
// - ~/ts3.5/index.d.ts - Definitions specific to TypeScript 3.
|
|
5
|
+
// - ~/index.d.ts - Definitions specific to TypeScript 3.7 and above
|
|
6
|
+
// - ~/ts3.5/base.d.ts - Definitions specific to TypeScript 3.6 and earlier
|
|
7
|
+
// - ~/ts3.5/index.d.ts - Definitions specific to TypeScript 3.6 and earlier with assert pulled in
|
|
8
8
|
|
|
9
9
|
// Reference required types from the default lib:
|
|
10
10
|
/// <reference lib="es2018" />
|
|
@@ -13,7 +13,46 @@
|
|
|
13
13
|
/// <reference lib="esnext.bigint" />
|
|
14
14
|
|
|
15
15
|
// Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
|
|
16
|
-
/// <reference path="../
|
|
16
|
+
/// <reference path="../globals.d.ts" />
|
|
17
|
+
/// <reference path="../async_hooks.d.ts" />
|
|
18
|
+
/// <reference path="../buffer.d.ts" />
|
|
19
|
+
/// <reference path="../child_process.d.ts" />
|
|
20
|
+
/// <reference path="../cluster.d.ts" />
|
|
21
|
+
/// <reference path="../console.d.ts" />
|
|
22
|
+
/// <reference path="../constants.d.ts" />
|
|
23
|
+
/// <reference path="../crypto.d.ts" />
|
|
24
|
+
/// <reference path="../dgram.d.ts" />
|
|
25
|
+
/// <reference path="../dns.d.ts" />
|
|
26
|
+
/// <reference path="../domain.d.ts" />
|
|
27
|
+
/// <reference path="../events.d.ts" />
|
|
28
|
+
/// <reference path="../fs.d.ts" />
|
|
29
|
+
/// <reference path="../fs/promises.d.ts" />
|
|
30
|
+
/// <reference path="../http.d.ts" />
|
|
31
|
+
/// <reference path="../http2.d.ts" />
|
|
32
|
+
/// <reference path="../https.d.ts" />
|
|
33
|
+
/// <reference path="../inspector.d.ts" />
|
|
34
|
+
/// <reference path="../module.d.ts" />
|
|
35
|
+
/// <reference path="../net.d.ts" />
|
|
36
|
+
/// <reference path="../os.d.ts" />
|
|
37
|
+
/// <reference path="../path.d.ts" />
|
|
38
|
+
/// <reference path="../perf_hooks.d.ts" />
|
|
39
|
+
/// <reference path="../process.d.ts" />
|
|
40
|
+
/// <reference path="../punycode.d.ts" />
|
|
41
|
+
/// <reference path="../querystring.d.ts" />
|
|
42
|
+
/// <reference path="../readline.d.ts" />
|
|
43
|
+
/// <reference path="../repl.d.ts" />
|
|
44
|
+
/// <reference path="../stream.d.ts" />
|
|
45
|
+
/// <reference path="../string_decoder.d.ts" />
|
|
46
|
+
/// <reference path="../timers.d.ts" />
|
|
47
|
+
/// <reference path="../tls.d.ts" />
|
|
48
|
+
/// <reference path="../trace_events.d.ts" />
|
|
49
|
+
/// <reference path="../tty.d.ts" />
|
|
50
|
+
/// <reference path="../url.d.ts" />
|
|
51
|
+
/// <reference path="../util.d.ts" />
|
|
52
|
+
/// <reference path="../v8.d.ts" />
|
|
53
|
+
/// <reference path="../vm.d.ts" />
|
|
54
|
+
/// <reference path="../worker_threads.d.ts" />
|
|
55
|
+
/// <reference path="../zlib.d.ts" />
|
|
17
56
|
|
|
18
57
|
// TypeScript 3.5-specific augmentations:
|
|
19
58
|
/// <reference path="../globals.global.d.ts" />
|
node/ts3.6/index.d.ts
CHANGED
node/ts3.4/base.d.ts
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
// NOTE: These definitions support NodeJS and TypeScript 3.2 - 3.4.
|
|
2
|
-
|
|
3
|
-
// NOTE: TypeScript version-specific augmentations can be found in the following paths:
|
|
4
|
-
// - ~/base.d.ts - Shared definitions common to all TypeScript versions
|
|
5
|
-
// - ~/index.d.ts - Definitions specific to TypeScript 2.1
|
|
6
|
-
// - ~/ts3.2/base.d.ts - Definitions specific to TypeScript 3.2
|
|
7
|
-
// - ~/ts3.2/index.d.ts - Definitions specific to TypeScript 3.2 with global and assert pulled in
|
|
8
|
-
|
|
9
|
-
// Reference required types from the default lib:
|
|
10
|
-
/// <reference lib="es2018" />
|
|
11
|
-
/// <reference lib="esnext.asynciterable" />
|
|
12
|
-
/// <reference lib="esnext.intl" />
|
|
13
|
-
/// <reference lib="esnext.bigint" />
|
|
14
|
-
|
|
15
|
-
// Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
|
|
16
|
-
|
|
17
|
-
/// <reference path="../globals.d.ts" />
|
|
18
|
-
/// <reference path="../async_hooks.d.ts" />
|
|
19
|
-
/// <reference path="../buffer.d.ts" />
|
|
20
|
-
/// <reference path="../child_process.d.ts" />
|
|
21
|
-
/// <reference path="../cluster.d.ts" />
|
|
22
|
-
/// <reference path="../console.d.ts" />
|
|
23
|
-
/// <reference path="../constants.d.ts" />
|
|
24
|
-
/// <reference path="../crypto.d.ts" />
|
|
25
|
-
/// <reference path="../dgram.d.ts" />
|
|
26
|
-
/// <reference path="../dns.d.ts" />
|
|
27
|
-
/// <reference path="../domain.d.ts" />
|
|
28
|
-
/// <reference path="../events.d.ts" />
|
|
29
|
-
/// <reference path="../fs.d.ts" />
|
|
30
|
-
/// <reference path="../fs/promises.d.ts" />
|
|
31
|
-
/// <reference path="../http.d.ts" />
|
|
32
|
-
/// <reference path="../http2.d.ts" />
|
|
33
|
-
/// <reference path="../https.d.ts" />
|
|
34
|
-
/// <reference path="../inspector.d.ts" />
|
|
35
|
-
/// <reference path="../module.d.ts" />
|
|
36
|
-
/// <reference path="../net.d.ts" />
|
|
37
|
-
/// <reference path="../os.d.ts" />
|
|
38
|
-
/// <reference path="../path.d.ts" />
|
|
39
|
-
/// <reference path="../perf_hooks.d.ts" />
|
|
40
|
-
/// <reference path="../process.d.ts" />
|
|
41
|
-
/// <reference path="../punycode.d.ts" />
|
|
42
|
-
/// <reference path="../querystring.d.ts" />
|
|
43
|
-
/// <reference path="../readline.d.ts" />
|
|
44
|
-
/// <reference path="../repl.d.ts" />
|
|
45
|
-
/// <reference path="../stream.d.ts" />
|
|
46
|
-
/// <reference path="../string_decoder.d.ts" />
|
|
47
|
-
/// <reference path="../timers.d.ts" />
|
|
48
|
-
/// <reference path="../tls.d.ts" />
|
|
49
|
-
/// <reference path="../trace_events.d.ts" />
|
|
50
|
-
/// <reference path="../tty.d.ts" />
|
|
51
|
-
/// <reference path="../url.d.ts" />
|
|
52
|
-
/// <reference path="../util.d.ts" />
|
|
53
|
-
/// <reference path="../v8.d.ts" />
|
|
54
|
-
/// <reference path="../vm.d.ts" />
|
|
55
|
-
/// <reference path="../worker_threads.d.ts" />
|
|
56
|
-
/// <reference path="../zlib.d.ts" />
|
node/ts3.4/globals.global.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare var global: NodeJS.Global;
|
node/ts3.4/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// NOTE: These definitions support NodeJS and TypeScript 3.2 - 3.4.
|
|
2
|
-
// This is required to enable globalThis support for global in ts3.5 without causing errors
|
|
3
|
-
// This is required to enable typing assert in ts3.7 without causing errors
|
|
4
|
-
// Typically type modifiations should be made in base.d.ts instead of here
|
|
5
|
-
|
|
6
|
-
/// <reference path="base.d.ts" />
|
|
7
|
-
/// <reference path="assert.d.ts" />
|
|
8
|
-
/// <reference path="globals.global.d.ts" />
|