UNPKG

6.39 kBTypeScriptView Raw
1// Type definitions for non-npm package Node.js 17.0
2// Project: https://nodejs.org/
3// Definitions by: Microsoft TypeScript <https://github.com/Microsoft>
4// DefinitelyTyped <https://github.com/DefinitelyTyped>
5// Alberto Schiabel <https://github.com/jkomyno>
6// Alvis HT Tang <https://github.com/alvis>
7// Andrew Makarov <https://github.com/r3nya>
8// Benjamin Toueg <https://github.com/btoueg>
9// Chigozirim C. <https://github.com/smac89>
10// David Junger <https://github.com/touffy>
11// Deividas Bakanas <https://github.com/DeividasBakanas>
12// Eugene Y. Q. Shen <https://github.com/eyqs>
13// Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>
14// Huw <https://github.com/hoo29>
15// Kelvin Jin <https://github.com/kjin>
16// Klaus Meinhardt <https://github.com/ajafff>
17// Lishude <https://github.com/islishude>
18// Mariusz Wiktorczyk <https://github.com/mwiktorczyk>
19// Mohsen Azimi <https://github.com/mohsen1>
20// Nicolas Even <https://github.com/n-e>
21// Nikita Galkin <https://github.com/galkin>
22// Parambir Singh <https://github.com/parambirs>
23// Sebastian Silbermann <https://github.com/eps1lon>
24// Seth Westphal <https://github.com/westy92>
25// Simon Schick <https://github.com/SimonSchick>
26// Thomas den Hollander <https://github.com/ThomasdenH>
27// Wilco Bakker <https://github.com/WilcoBakker>
28// wwwy3y3 <https://github.com/wwwy3y3>
29// Samuel Ainsworth <https://github.com/samuela>
30// Kyle Uehlein <https://github.com/kuehlein>
31// Thanik Bhongbhibhat <https://github.com/bhongy>
32// Marcin Kopacz <https://github.com/chyzwar>
33// Trivikram Kamat <https://github.com/trivikr>
34// Junxiao Shi <https://github.com/yoursunny>
35// Ilia Baryshnikov <https://github.com/qwelias>
36// ExE Boss <https://github.com/ExE-Boss>
37// Piotr Błażejewicz <https://github.com/peterblazejewicz>
38// Anna Henningsen <https://github.com/addaleax>
39// Victor Perin <https://github.com/victorperin>
40// Yongsheng Zhang <https://github.com/ZYSzys>
41// NodeJS Contributors <https://github.com/NodeJS>
42// Linus Unnebäck <https://github.com/LinusU>
43// wafuwafu13 <https://github.com/wafuwafu13>
44// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
45
46/**
47 * License for programmatically and manually incorporated
48 * documentation aka. `JSDoc` from https://github.com/nodejs/node/tree/master/doc
49 *
50 * Copyright Node.js contributors. All rights reserved.
51 * Permission is hereby granted, free of charge, to any person obtaining a copy
52 * of this software and associated documentation files (the "Software"), to
53 * deal in the Software without restriction, including without limitation the
54 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
55 * sell copies of the Software, and to permit persons to whom the Software is
56 * furnished to do so, subject to the following conditions:
57 *
58 * The above copyright notice and this permission notice shall be included in
59 * all copies or substantial portions of the Software.
60 *
61 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
62 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
63 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
64 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
65 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
66 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
67 * IN THE SOFTWARE.
68 */
69
70// NOTE: These definitions support NodeJS and TypeScript 3.7+.
71
72// Reference required types from the default lib:
73/// <reference lib="es2020" />
74/// <reference lib="esnext.asynciterable" />
75/// <reference lib="esnext.intl" />
76/// <reference lib="esnext.bigint" />
77
78// Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
79/// <reference path="assert.d.ts" />
80/// <reference path="assert/strict.d.ts" />
81/// <reference path="globals.d.ts" />
82/// <reference path="async_hooks.d.ts" />
83/// <reference path="buffer.d.ts" />
84/// <reference path="child_process.d.ts" />
85/// <reference path="cluster.d.ts" />
86/// <reference path="console.d.ts" />
87/// <reference path="constants.d.ts" />
88/// <reference path="crypto.d.ts" />
89/// <reference path="dgram.d.ts" />
90/// <reference path="diagnostics_channel.d.ts" />
91/// <reference path="dns.d.ts" />
92/// <reference path="dns/promises.d.ts" />
93/// <reference path="dns/promises.d.ts" />
94/// <reference path="domain.d.ts" />
95/// <reference path="events.d.ts" />
96/// <reference path="fs.d.ts" />
97/// <reference path="fs/promises.d.ts" />
98/// <reference path="http.d.ts" />
99/// <reference path="http2.d.ts" />
100/// <reference path="https.d.ts" />
101/// <reference path="inspector.d.ts" />
102/// <reference path="module.d.ts" />
103/// <reference path="net.d.ts" />
104/// <reference path="os.d.ts" />
105/// <reference path="path.d.ts" />
106/// <reference path="perf_hooks.d.ts" />
107/// <reference path="process.d.ts" />
108/// <reference path="punycode.d.ts" />
109/// <reference path="querystring.d.ts" />
110/// <reference path="readline.d.ts" />
111/// <reference path="repl.d.ts" />
112/// <reference path="stream.d.ts" />
113/// <reference path="stream/promises.d.ts" />
114/// <reference path="stream/consumers.d.ts" />
115/// <reference path="stream/web.d.ts" />
116/// <reference path="string_decoder.d.ts" />
117/// <reference path="timers.d.ts" />
118/// <reference path="timers/promises.d.ts" />
119/// <reference path="tls.d.ts" />
120/// <reference path="trace_events.d.ts" />
121/// <reference path="tty.d.ts" />
122/// <reference path="url.d.ts" />
123/// <reference path="util.d.ts" />
124/// <reference path="v8.d.ts" />
125/// <reference path="vm.d.ts" />
126/// <reference path="wasi.d.ts" />
127/// <reference path="worker_threads.d.ts" />
128/// <reference path="zlib.d.ts" />
129
130/// <reference path="globals.global.d.ts" />