@types/node 12.20.2 → 12.20.6

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 v12.20/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/v12.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 18 Feb 2021 20:45:53 GMT
11
+ * Last updated: Mon, 15 Mar 2021 18:54:39 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Buffer`, `NodeJS`, `__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), [Alexander T.](https://github.com/a-tarasyuk), [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), [Zane Hannan AU](https://github.com/ZaneHannanAU), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Jordi Oliveras Rovira](https://github.com/j-oliveras), [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), and [Jason Kwok](https://github.com/JasonHK).
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), [Zane Hannan AU](https://github.com/ZaneHannanAU), [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), and [Jason Kwok](https://github.com/JasonHK).
node v12.20/fs.d.ts CHANGED
@@ -459,9 +459,10 @@ declare module 'fs' {
459
459
  * Asynchronous stat(2) - Get file status.
460
460
  * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
461
461
  */
462
- function stat(path: PathLike, options: BigIntOptions, callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void): void;
463
- function stat(path: PathLike, options: StatOptions, callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void): void;
464
462
  function stat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
463
+ function stat(path: PathLike, options: StatOptions & { bigint?: false } | undefined, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
464
+ function stat(path: PathLike, options: StatOptions & { bigint: true }, callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void): void;
465
+ function stat(path: PathLike, options: StatOptions | undefined, callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void): void;
465
466
 
466
467
  // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
467
468
  namespace stat {
@@ -469,24 +470,18 @@ declare module 'fs' {
469
470
  * Asynchronous stat(2) - Get file status.
470
471
  * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
471
472
  */
472
- function __promisify__(path: PathLike, options: BigIntOptions): Promise<BigIntStats>;
473
- function __promisify__(path: PathLike, options: StatOptions): Promise<Stats | BigIntStats>;
474
- function __promisify__(path: PathLike): Promise<Stats>;
473
+ function __promisify__(path: PathLike, options?: StatOptions & { bigint?: false }): Promise<Stats>;
474
+ function __promisify__(path: PathLike, options: StatOptions & { bigint: true }): Promise<BigIntStats>;
475
+ function __promisify__(path: PathLike, options?: StatOptions): Promise<Stats | BigIntStats>;
475
476
  }
476
477
 
477
478
  /**
478
479
  * Synchronous stat(2) - Get file status.
479
480
  * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
480
481
  */
481
- function statSync(path: PathLike, options: BigIntOptions): BigIntStats;
482
- function statSync(path: PathLike, options: StatOptions): Stats | BigIntStats;
483
- function statSync(path: PathLike): Stats;
484
-
485
- /**
486
- * Asynchronous fstat(2) - Get file status.
487
- * @param fd A file descriptor.
488
- */
489
- function fstat(fd: number, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
482
+ function statSync(path: PathLike, options?: StatOptions & { bigint?: false }): Stats;
483
+ function statSync(path: PathLike, options: StatOptions & { bigint: true }): BigIntStats;
484
+ function statSync(path: PathLike, options?: StatOptions): Stats | BigIntStats;
490
485
 
491
486
  // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
492
487
  namespace fstat {
@@ -494,20 +489,27 @@ declare module 'fs' {
494
489
  * Asynchronous fstat(2) - Get file status.
495
490
  * @param fd A file descriptor.
496
491
  */
497
- function __promisify__(fd: number): Promise<Stats>;
492
+ function __promisify__(fd: number, options?: StatOptions & { bigint?: false }): Promise<Stats>;
493
+ function __promisify__(fd: number, options: StatOptions & { bigint: true }): Promise<BigIntStats>;
494
+ function __promisify__(fd: number, options?: StatOptions): Promise<Stats | BigIntStats>;
498
495
  }
499
496
 
500
497
  /**
501
498
  * Synchronous fstat(2) - Get file status.
502
499
  * @param fd A file descriptor.
503
500
  */
504
- function fstatSync(fd: number): Stats;
501
+ function fstatSync(fd: number, options?: StatOptions & { bigint?: false }): Stats;
502
+ function fstatSync(fd: number, options: StatOptions & { bigint: true }): BigIntStats;
503
+ function fstatSync(fd: number, options?: StatOptions): Stats | BigIntStats;
505
504
 
506
505
  /**
507
506
  * Asynchronous lstat(2) - Get file status. Does not dereference symbolic links.
508
507
  * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
509
508
  */
510
509
  function lstat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
510
+ function lstat(path: PathLike, options: StatOptions & { bigint?: false } | undefined, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
511
+ function lstat(path: PathLike, options: StatOptions & { bigint: true }, callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void): void;
512
+ function lstat(path: PathLike, options: StatOptions | undefined, callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void): void;
511
513
 
512
514
  // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
513
515
  namespace lstat {
@@ -515,14 +517,18 @@ declare module 'fs' {
515
517
  * Asynchronous lstat(2) - Get file status. Does not dereference symbolic links.
516
518
  * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
517
519
  */
518
- function __promisify__(path: PathLike): Promise<Stats>;
520
+ function __promisify__(path: PathLike, options?: StatOptions & { bigint?: false }): Promise<Stats>;
521
+ function __promisify__(path: PathLike, options: StatOptions & { bigint: true }): Promise<BigIntStats>;
522
+ function __promisify__(path: PathLike, options?: StatOptions): Promise<Stats | BigIntStats>;
519
523
  }
520
524
 
521
525
  /**
522
526
  * Synchronous lstat(2) - Get file status. Does not dereference symbolic links.
523
527
  * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
524
528
  */
525
- function lstatSync(path: PathLike): Stats;
529
+ function lstatSync(path: PathLike, options?: StatOptions & { bigint?: false }): Stats;
530
+ function lstatSync(path: PathLike, options: StatOptions & { bigint: true }): BigIntStats;
531
+ function lstatSync(path: PathLike, options?: StatOptions): Stats | BigIntStats;
526
532
 
527
533
  /**
528
534
  * Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file.
@@ -2064,7 +2070,9 @@ declare module 'fs' {
2064
2070
  /**
2065
2071
  * Asynchronous fstat(2) - Get file status.
2066
2072
  */
2067
- stat(): Promise<Stats>;
2073
+ stat(opts?: StatOptions & { bigint?: false }): Promise<Stats>;
2074
+ stat(opts: StatOptions & { bigint: true }): Promise<BigIntStats>;
2075
+ stat(opts: StatOptions): Promise<Stats | BigIntStats>;
2068
2076
 
2069
2077
  /**
2070
2078
  * Asynchronous ftruncate(2) - Truncate a file to a specified length.
@@ -2303,23 +2311,21 @@ declare module 'fs' {
2303
2311
  */
2304
2312
  function symlink(target: PathLike, path: PathLike, type?: string | null): Promise<void>;
2305
2313
 
2306
- /**
2307
- * Asynchronous fstat(2) - Get file status.
2308
- * @param handle A `FileHandle`.
2309
- */
2310
- function fstat(handle: FileHandle): Promise<Stats>;
2311
-
2312
2314
  /**
2313
2315
  * Asynchronous lstat(2) - Get file status. Does not dereference symbolic links.
2314
2316
  * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2315
2317
  */
2316
- function lstat(path: PathLike): Promise<Stats>;
2318
+ function lstat(path: PathLike, opts?: StatOptions & { bigint?: false }): Promise<Stats>;
2319
+ function lstat(path: PathLike, opts: StatOptions & { bigint: true }): Promise<BigIntStats>;
2320
+ function lstat(path: PathLike, opts?: StatOptions): Promise<Stats | BigIntStats>;
2317
2321
 
2318
2322
  /**
2319
2323
  * Asynchronous stat(2) - Get file status.
2320
2324
  * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
2321
2325
  */
2322
- function stat(path: PathLike): Promise<Stats>;
2326
+ function stat(path: PathLike, opts?: StatOptions & { bigint?: false }): Promise<Stats>;
2327
+ function stat(path: PathLike, opts: StatOptions & { bigint: true }): Promise<BigIntStats>;
2328
+ function stat(path: PathLike, opts?: StatOptions): Promise<Stats | BigIntStats>;
2323
2329
 
2324
2330
  /**
2325
2331
  * Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file.
node v12.20/http2.d.ts CHANGED
@@ -646,7 +646,7 @@ declare module 'http2' {
646
646
  prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
647
647
  }
648
648
 
649
- export class Http2ServerResponse extends stream.Stream {
649
+ export class Http2ServerResponse extends stream.Writable {
650
650
  constructor(stream: ServerHttp2Stream);
651
651
 
652
652
  readonly connection: net.Socket | tls.TLSSocket;
node v12.20/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
  // Zane Hannan AU <https://github.com/ZaneHannanAU>
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>
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "12.20.2",
3
+ "version": "12.20.6",
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",
@@ -208,11 +198,6 @@
208
198
  "main": "",
209
199
  "types": "index.d.ts",
210
200
  "typesVersions": {
211
- "<=3.4": {
212
- "*": [
213
- "ts3.4/*"
214
- ]
215
- },
216
201
  "<=3.6": {
217
202
  "*": [
218
203
  "ts3.6/*"
@@ -226,6 +211,6 @@
226
211
  },
227
212
  "scripts": {},
228
213
  "dependencies": {},
229
- "typesPublisherContentHash": "e9b5c3dd316885e38f825c24606e73bd4228335763cf9435ec91f783b88187cb",
230
- "typeScriptVersion": "3.4"
214
+ "typesPublisherContentHash": "b1dbda09ef94dd24360ab25f15692c9752b0c6a9dd733fa0eabd38bd9ddff78d",
215
+ "typeScriptVersion": "3.5"
231
216
  }
File without changes
@@ -1,10 +1,10 @@
1
- // NOTE: These definitions support NodeJS and TypeScript 3.4.
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 2.1
6
- // - ~/ts3.4/base.d.ts - Definitions specific to TypeScript 3.4
7
- // - ~/ts3.4/index.d.ts - Definitions specific to TypeScript 3.4 with assert pulled in
5
+ // - ~/index.d.ts - Definitions specific to TypeScript 3.7+
6
+ // - ~/ts3.6/base.d.ts - Definitions specific to TypeScript 3.6 and earlier
7
+ // - ~/ts3.6/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="../ts3.4/base.d.ts" />
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.5-specific augmentations:
19
57
  /// <reference path="../globals.global.d.ts" />
@@ -4,4 +4,4 @@
4
4
 
5
5
  /// <reference path="base.d.ts" />
6
6
 
7
- /// <reference path="../ts3.4/assert.d.ts" />
7
+ /// <reference path="assert.d.ts" />
@@ -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;
@@ -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.4 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" />