UNPKG

4.91 kBTypeScriptView Raw
1// Type definitions for non-npm package Node.js 16.4
2// Project: http://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// Hoàng Văn Khải <https://github.com/KSXGitHub>
15// Huw <https://github.com/hoo29>
16// Kelvin Jin <https://github.com/kjin>
17// Klaus Meinhardt <https://github.com/ajafff>
18// Lishude <https://github.com/islishude>
19// Mariusz Wiktorczyk <https://github.com/mwiktorczyk>
20// Mohsen Azimi <https://github.com/mohsen1>
21// Nicolas Even <https://github.com/n-e>
22// Nikita Galkin <https://github.com/galkin>
23// Parambir Singh <https://github.com/parambirs>
24// Sebastian Silbermann <https://github.com/eps1lon>
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// Minh Son Nguyen <https://github.com/nguymin4>
35// Junxiao Shi <https://github.com/yoursunny>
36// Ilia Baryshnikov <https://github.com/qwelias>
37// ExE Boss <https://github.com/ExE-Boss>
38// Surasak Chaisurin <https://github.com/Ryan-Willpower>
39// Piotr Błażejewicz <https://github.com/peterblazejewicz>
40// Anna Henningsen <https://github.com/addaleax>
41// Jason Kwok <https://github.com/JasonHK>
42// Victor Perin <https://github.com/victorperin>
43// Yongsheng Zhang <https://github.com/ZYSzys>
44// NodeJS Contributors <https://github.com/NodeJS>
45// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
46
47/**
48 * License for programmatically and manually incorporated
49 * documentation aka. `JSDoc` from https://github.com/nodejs/node/tree/master/doc
50 *
51 * Copyright Node.js contributors. All rights reserved.
52 * Permission is hereby granted, free of charge, to any person obtaining a copy
53 * of this software and associated documentation files (the "Software"), to
54 * deal in the Software without restriction, including without limitation the
55 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
56 * sell copies of the Software, and to permit persons to whom the Software is
57 * furnished to do so, subject to the following conditions:
58 *
59 * The above copyright notice and this permission notice shall be included in
60 * all copies or substantial portions of the Software.
61 *
62 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
63 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
64 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
65 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
66 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
67 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
68 * IN THE SOFTWARE.
69 */
70
71// NOTE: These definitions support NodeJS and TypeScript 3.7.
72// Typically type modifications should be made in base.d.ts instead of here
73
74/// <reference path="base.d.ts" />
75
76// NOTE: TypeScript version-specific augmentations can be found in the following paths:
77// - ~/base.d.ts - Shared definitions common to all TypeScript versions
78// - ~/index.d.ts - Definitions specific to TypeScript 3.7
79// - ~/ts3.6/index.d.ts - Definitions specific to TypeScript 3.6
80
81// NOTE: Augmentations for TypeScript 3.6 and later should use individual files for overrides
82// within the respective ~/ts3.6 (or later) folder. However, this is disallowed for versions
83// prior to TypeScript 3.6, so the older definitions will be found here.