@types/node 13.13.43 → 13.13.47
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 v13.13/README.md +2 -2
- node v13.13/fs.d.ts +36 -21
- node v13.13/http2.d.ts +1 -1
- node v13.13/index.d.ts +0 -2
- node v13.13/package.json +3 -18
- node v13.13/{ts3.4 → ts3.6}/assert.d.ts +0 -0
- node v13.13/ts3.6/base.d.ts +43 -5
- node v13.13/ts3.6/index.d.ts +2 -3
- node v13.13/ts3.4/base.d.ts +0 -54
- node v13.13/ts3.4/globals.global.d.ts +0 -1
- node v13.13/ts3.4/index.d.ts +0 -8
node v13.13/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/v13.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 15 Mar 2021 18:54:36 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), [Christian Vaagland Tellnes](https://github.com/tellnes), [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), and [Jason Kwok](https://github.com/JasonHK).
|
node v13.13/fs.d.ts
CHANGED
|
@@ -491,9 +491,10 @@ declare module "fs" {
|
|
|
491
491
|
* Asynchronous stat(2) - Get file status.
|
|
492
492
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
493
493
|
*/
|
|
494
|
-
function stat(path: PathLike, options: BigIntOptions, callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void): void;
|
|
495
|
-
function stat(path: PathLike, options: StatOptions, callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void): void;
|
|
496
494
|
function stat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
|
|
495
|
+
function stat(path: PathLike, options: StatOptions & { bigint?: false } | undefined, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
|
|
496
|
+
function stat(path: PathLike, options: StatOptions & { bigint: true }, callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void): void;
|
|
497
|
+
function stat(path: PathLike, options: StatOptions | undefined, callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void): void;
|
|
497
498
|
|
|
498
499
|
// NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
|
|
499
500
|
namespace stat {
|
|
@@ -501,24 +502,27 @@ declare module "fs" {
|
|
|
501
502
|
* Asynchronous stat(2) - Get file status.
|
|
502
503
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
503
504
|
*/
|
|
504
|
-
function __promisify__(path: PathLike, options
|
|
505
|
-
function __promisify__(path: PathLike, options: StatOptions): Promise<
|
|
506
|
-
function __promisify__(path: PathLike): Promise<Stats>;
|
|
505
|
+
function __promisify__(path: PathLike, options?: StatOptions & { bigint?: false }): Promise<Stats>;
|
|
506
|
+
function __promisify__(path: PathLike, options: StatOptions & { bigint: true }): Promise<BigIntStats>;
|
|
507
|
+
function __promisify__(path: PathLike, options?: StatOptions): Promise<Stats | BigIntStats>;
|
|
507
508
|
}
|
|
508
509
|
|
|
509
510
|
/**
|
|
510
511
|
* Synchronous stat(2) - Get file status.
|
|
511
512
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
512
513
|
*/
|
|
513
|
-
function statSync(path: PathLike, options
|
|
514
|
-
function statSync(path: PathLike, options: StatOptions
|
|
515
|
-
function statSync(path: PathLike): Stats;
|
|
514
|
+
function statSync(path: PathLike, options?: StatOptions & { bigint?: false }): Stats;
|
|
515
|
+
function statSync(path: PathLike, options: StatOptions & { bigint: true }): BigIntStats;
|
|
516
|
+
function statSync(path: PathLike, options?: StatOptions): Stats | BigIntStats;
|
|
516
517
|
|
|
517
518
|
/**
|
|
518
519
|
* Asynchronous fstat(2) - Get file status.
|
|
519
520
|
* @param fd A file descriptor.
|
|
520
521
|
*/
|
|
521
522
|
function fstat(fd: number, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
|
|
523
|
+
function fstat(fd: number, options: StatOptions & { bigint?: false } | undefined, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
|
|
524
|
+
function fstat(fd: number, options: StatOptions & { bigint: true }, callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void): void;
|
|
525
|
+
function fstat(fd: number, options: StatOptions | undefined, callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void): void;
|
|
522
526
|
|
|
523
527
|
// NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
|
|
524
528
|
namespace fstat {
|
|
@@ -526,20 +530,27 @@ declare module "fs" {
|
|
|
526
530
|
* Asynchronous fstat(2) - Get file status.
|
|
527
531
|
* @param fd A file descriptor.
|
|
528
532
|
*/
|
|
529
|
-
function __promisify__(fd: number): Promise<Stats>;
|
|
533
|
+
function __promisify__(fd: number, options?: StatOptions & { bigint?: false }): Promise<Stats>;
|
|
534
|
+
function __promisify__(fd: number, options: StatOptions & { bigint: true }): Promise<BigIntStats>;
|
|
535
|
+
function __promisify__(fd: number, options?: StatOptions): Promise<Stats | BigIntStats>;
|
|
530
536
|
}
|
|
531
537
|
|
|
532
538
|
/**
|
|
533
539
|
* Synchronous fstat(2) - Get file status.
|
|
534
540
|
* @param fd A file descriptor.
|
|
535
541
|
*/
|
|
536
|
-
function fstatSync(fd: number): Stats;
|
|
542
|
+
function fstatSync(fd: number, options?: StatOptions & { bigint?: false }): Stats;
|
|
543
|
+
function fstatSync(fd: number, options: StatOptions & { bigint: true }): BigIntStats;
|
|
544
|
+
function fstatSync(fd: number, options?: StatOptions): Stats | BigIntStats;
|
|
537
545
|
|
|
538
546
|
/**
|
|
539
547
|
* Asynchronous lstat(2) - Get file status. Does not dereference symbolic links.
|
|
540
548
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
541
549
|
*/
|
|
542
550
|
function lstat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
|
|
551
|
+
function lstat(path: PathLike, options: StatOptions & { bigint?: false } | undefined, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
|
|
552
|
+
function lstat(path: PathLike, options: StatOptions & { bigint: true }, callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void): void;
|
|
553
|
+
function lstat(path: PathLike, options: StatOptions | undefined, callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void): void;
|
|
543
554
|
|
|
544
555
|
// NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
|
|
545
556
|
namespace lstat {
|
|
@@ -547,14 +558,18 @@ declare module "fs" {
|
|
|
547
558
|
* Asynchronous lstat(2) - Get file status. Does not dereference symbolic links.
|
|
548
559
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
549
560
|
*/
|
|
550
|
-
function __promisify__(path: PathLike): Promise<Stats>;
|
|
561
|
+
function __promisify__(path: PathLike, options?: StatOptions & { bigint?: false }): Promise<Stats>;
|
|
562
|
+
function __promisify__(path: PathLike, options: StatOptions & { bigint: true }): Promise<BigIntStats>;
|
|
563
|
+
function __promisify__(path: PathLike, options?: StatOptions): Promise<Stats | BigIntStats>;
|
|
551
564
|
}
|
|
552
565
|
|
|
553
566
|
/**
|
|
554
567
|
* Synchronous lstat(2) - Get file status. Does not dereference symbolic links.
|
|
555
568
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
556
569
|
*/
|
|
557
|
-
function lstatSync(path: PathLike): Stats;
|
|
570
|
+
function lstatSync(path: PathLike, options?: StatOptions & { bigint?: false }): Stats;
|
|
571
|
+
function lstatSync(path: PathLike, options: StatOptions & { bigint: true }): BigIntStats;
|
|
572
|
+
function lstatSync(path: PathLike, options?: StatOptions): Stats | BigIntStats;
|
|
558
573
|
|
|
559
574
|
/**
|
|
560
575
|
* Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file.
|
|
@@ -2198,7 +2213,9 @@ declare module "fs" {
|
|
|
2198
2213
|
/**
|
|
2199
2214
|
* Asynchronous fstat(2) - Get file status.
|
|
2200
2215
|
*/
|
|
2201
|
-
stat(): Promise<Stats>;
|
|
2216
|
+
stat(opts?: StatOptions & { bigint?: false }): Promise<Stats>;
|
|
2217
|
+
stat(opts: StatOptions & { bigint: true }): Promise<BigIntStats>;
|
|
2218
|
+
stat(opts?: StatOptions): Promise<Stats | BigIntStats>;
|
|
2202
2219
|
|
|
2203
2220
|
/**
|
|
2204
2221
|
* Asynchronous ftruncate(2) - Truncate a file to a specified length.
|
|
@@ -2458,23 +2475,21 @@ declare module "fs" {
|
|
|
2458
2475
|
*/
|
|
2459
2476
|
function symlink(target: PathLike, path: PathLike, type?: string | null): Promise<void>;
|
|
2460
2477
|
|
|
2461
|
-
/**
|
|
2462
|
-
* Asynchronous fstat(2) - Get file status.
|
|
2463
|
-
* @param handle A `FileHandle`.
|
|
2464
|
-
*/
|
|
2465
|
-
function fstat(handle: FileHandle): Promise<Stats>;
|
|
2466
|
-
|
|
2467
2478
|
/**
|
|
2468
2479
|
* Asynchronous lstat(2) - Get file status. Does not dereference symbolic links.
|
|
2469
2480
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2470
2481
|
*/
|
|
2471
|
-
function lstat(path: PathLike): Promise<Stats>;
|
|
2482
|
+
function lstat(path: PathLike, opts?: StatOptions & { bigint?: false }): Promise<Stats>;
|
|
2483
|
+
function lstat(path: PathLike, opts: StatOptions & { bigint: true }): Promise<BigIntStats>;
|
|
2484
|
+
function lstat(path: PathLike, opts?: StatOptions): Promise<Stats | BigIntStats>;
|
|
2472
2485
|
|
|
2473
2486
|
/**
|
|
2474
2487
|
* Asynchronous stat(2) - Get file status.
|
|
2475
2488
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2476
2489
|
*/
|
|
2477
|
-
function stat(path: PathLike): Promise<Stats>;
|
|
2490
|
+
function stat(path: PathLike, opts?: StatOptions & { bigint?: false }): Promise<Stats>;
|
|
2491
|
+
function stat(path: PathLike, opts: StatOptions & { bigint: true }): Promise<BigIntStats>;
|
|
2492
|
+
function stat(path: PathLike, opts?: StatOptions): Promise<Stats | BigIntStats>;
|
|
2478
2493
|
|
|
2479
2494
|
/**
|
|
2480
2495
|
* Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file.
|
node v13.13/http2.d.ts
CHANGED
|
@@ -638,7 +638,7 @@ declare module "http2" {
|
|
|
638
638
|
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
639
639
|
}
|
|
640
640
|
|
|
641
|
-
export class Http2ServerResponse extends stream.
|
|
641
|
+
export class Http2ServerResponse extends stream.Writable {
|
|
642
642
|
constructor(stream: ServerHttp2Stream);
|
|
643
643
|
|
|
644
644
|
readonly connection: net.Socket | tls.TLSSocket;
|
node v13.13/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>
|
|
@@ -31,7 +30,6 @@
|
|
|
31
30
|
// wwwy3y3 <https://github.com/wwwy3y3>
|
|
32
31
|
// Samuel Ainsworth <https://github.com/samuela>
|
|
33
32
|
// Kyle Uehlein <https://github.com/kuehlein>
|
|
34
|
-
// Jordi Oliveras Rovira <https://github.com/j-oliveras>
|
|
35
33
|
// Thanik Bhongbhibhat <https://github.com/bhongy>
|
|
36
34
|
// Marcin Kopacz <https://github.com/chyzwar>
|
|
37
35
|
// Trivikram Kamat <https://github.com/trivikr>
|
node v13.13/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "13.13.
|
|
3
|
+
"version": "13.13.47",
|
|
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",
|
|
@@ -159,11 +154,6 @@
|
|
|
159
154
|
"url": "https://github.com/kuehlein",
|
|
160
155
|
"githubUsername": "kuehlein"
|
|
161
156
|
},
|
|
162
|
-
{
|
|
163
|
-
"name": "Jordi Oliveras Rovira",
|
|
164
|
-
"url": "https://github.com/j-oliveras",
|
|
165
|
-
"githubUsername": "j-oliveras"
|
|
166
|
-
},
|
|
167
157
|
{
|
|
168
158
|
"name": "Thanik Bhongbhibhat",
|
|
169
159
|
"url": "https://github.com/bhongy",
|
|
@@ -218,11 +208,6 @@
|
|
|
218
208
|
"main": "",
|
|
219
209
|
"types": "index.d.ts",
|
|
220
210
|
"typesVersions": {
|
|
221
|
-
"<=3.4": {
|
|
222
|
-
"*": [
|
|
223
|
-
"ts3.4/*"
|
|
224
|
-
]
|
|
225
|
-
},
|
|
226
211
|
"<=3.6": {
|
|
227
212
|
"*": [
|
|
228
213
|
"ts3.6/*"
|
|
@@ -236,6 +221,6 @@
|
|
|
236
221
|
},
|
|
237
222
|
"scripts": {},
|
|
238
223
|
"dependencies": {},
|
|
239
|
-
"typesPublisherContentHash": "
|
|
240
|
-
"typeScriptVersion": "3.
|
|
224
|
+
"typesPublisherContentHash": "fd3c9994bf4716eeafdedea9a0ce6357d4ccfe3c9a6baf76c368923ac5ccafbc",
|
|
225
|
+
"typeScriptVersion": "3.5"
|
|
241
226
|
}
|
|
File without changes
|
node v13.13/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+
|
|
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,45 @@
|
|
|
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="../http.d.ts" />
|
|
30
|
+
/// <reference path="../http2.d.ts" />
|
|
31
|
+
/// <reference path="../https.d.ts" />
|
|
32
|
+
/// <reference path="../inspector.d.ts" />
|
|
33
|
+
/// <reference path="../module.d.ts" />
|
|
34
|
+
/// <reference path="../net.d.ts" />
|
|
35
|
+
/// <reference path="../os.d.ts" />
|
|
36
|
+
/// <reference path="../path.d.ts" />
|
|
37
|
+
/// <reference path="../perf_hooks.d.ts" />
|
|
38
|
+
/// <reference path="../process.d.ts" />
|
|
39
|
+
/// <reference path="../punycode.d.ts" />
|
|
40
|
+
/// <reference path="../querystring.d.ts" />
|
|
41
|
+
/// <reference path="../readline.d.ts" />
|
|
42
|
+
/// <reference path="../repl.d.ts" />
|
|
43
|
+
/// <reference path="../stream.d.ts" />
|
|
44
|
+
/// <reference path="../string_decoder.d.ts" />
|
|
45
|
+
/// <reference path="../timers.d.ts" />
|
|
46
|
+
/// <reference path="../tls.d.ts" />
|
|
47
|
+
/// <reference path="../trace_events.d.ts" />
|
|
48
|
+
/// <reference path="../tty.d.ts" />
|
|
49
|
+
/// <reference path="../url.d.ts" />
|
|
50
|
+
/// <reference path="../util.d.ts" />
|
|
51
|
+
/// <reference path="../v8.d.ts" />
|
|
52
|
+
/// <reference path="../vm.d.ts" />
|
|
53
|
+
/// <reference path="../worker_threads.d.ts" />
|
|
54
|
+
/// <reference path="../zlib.d.ts" />
|
|
17
55
|
|
|
18
56
|
// TypeScript 3.4-specific augmentations:
|
|
19
57
|
/// <reference path="../globals.global.d.ts" />
|
node v13.13/ts3.6/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// NOTE: These definitions support NodeJS and TypeScript 3.5.
|
|
2
|
-
// This is
|
|
2
|
+
// This is required to enable typing assert in ts3.7 without causing errors
|
|
3
3
|
// Typically type modifiations should be made in base.d.ts instead of here
|
|
4
4
|
|
|
5
5
|
/// <reference path="base.d.ts" />
|
|
6
|
-
|
|
7
|
-
/// <reference path="../ts3.4/assert.d.ts" />
|
|
6
|
+
/// <reference path="assert.d.ts" />
|
node v13.13/ts3.4/base.d.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
// NOTE: These definitions support NodeJS and TypeScript 3.2.
|
|
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
|
-
/// <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="../http.d.ts" />
|
|
30
|
-
/// <reference path="../http2.d.ts" />
|
|
31
|
-
/// <reference path="../https.d.ts" />
|
|
32
|
-
/// <reference path="../inspector.d.ts" />
|
|
33
|
-
/// <reference path="../module.d.ts" />
|
|
34
|
-
/// <reference path="../net.d.ts" />
|
|
35
|
-
/// <reference path="../os.d.ts" />
|
|
36
|
-
/// <reference path="../path.d.ts" />
|
|
37
|
-
/// <reference path="../perf_hooks.d.ts" />
|
|
38
|
-
/// <reference path="../process.d.ts" />
|
|
39
|
-
/// <reference path="../punycode.d.ts" />
|
|
40
|
-
/// <reference path="../querystring.d.ts" />
|
|
41
|
-
/// <reference path="../readline.d.ts" />
|
|
42
|
-
/// <reference path="../repl.d.ts" />
|
|
43
|
-
/// <reference path="../stream.d.ts" />
|
|
44
|
-
/// <reference path="../string_decoder.d.ts" />
|
|
45
|
-
/// <reference path="../timers.d.ts" />
|
|
46
|
-
/// <reference path="../tls.d.ts" />
|
|
47
|
-
/// <reference path="../trace_events.d.ts" />
|
|
48
|
-
/// <reference path="../tty.d.ts" />
|
|
49
|
-
/// <reference path="../url.d.ts" />
|
|
50
|
-
/// <reference path="../util.d.ts" />
|
|
51
|
-
/// <reference path="../v8.d.ts" />
|
|
52
|
-
/// <reference path="../vm.d.ts" />
|
|
53
|
-
/// <reference path="../worker_threads.d.ts" />
|
|
54
|
-
/// <reference path="../zlib.d.ts" />
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare var global: NodeJS.Global;
|
node v13.13/ts3.4/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// NOTE: These definitions support NodeJS and TypeScript 3.2.
|
|
2
|
-
// This is requried to enable globalThis support for global in ts3.5 without causing errors
|
|
3
|
-
// This is requried 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" />
|