index.d.ts (3706B)
1 /** 2 * License for programmatically and manually incorporated 3 * documentation aka. `JSDoc` from https://github.com/nodejs/node/tree/master/doc 4 * 5 * Copyright Node.js contributors. All rights reserved. 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to 8 * deal in the Software without restriction, including without limitation the 9 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 10 * sell copies of the Software, and to permit persons to whom the Software is 11 * furnished to do so, subject to the following conditions: 12 * 13 * The above copyright notice and this permission notice shall be included in 14 * all copies or substantial portions of the Software. 15 * 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 22 * IN THE SOFTWARE. 23 */ 24 25 // NOTE: These definitions support Node.js and TypeScript 5.7+. 26 27 // Reference required TypeScript libs: 28 /// <reference lib="es2020" /> 29 30 // TypeScript backwards-compatibility definitions: 31 /// <reference path="compatibility/index.d.ts" /> 32 33 // Definitions specific to TypeScript 5.7+: 34 /// <reference path="globals.typedarray.d.ts" /> 35 /// <reference path="buffer.buffer.d.ts" /> 36 37 // Definitions for Node.js modules that are not specific to any version of TypeScript: 38 /// <reference path="globals.d.ts" /> 39 /// <reference path="assert.d.ts" /> 40 /// <reference path="assert/strict.d.ts" /> 41 /// <reference path="async_hooks.d.ts" /> 42 /// <reference path="buffer.d.ts" /> 43 /// <reference path="child_process.d.ts" /> 44 /// <reference path="cluster.d.ts" /> 45 /// <reference path="console.d.ts" /> 46 /// <reference path="constants.d.ts" /> 47 /// <reference path="crypto.d.ts" /> 48 /// <reference path="dgram.d.ts" /> 49 /// <reference path="diagnostics_channel.d.ts" /> 50 /// <reference path="dns.d.ts" /> 51 /// <reference path="dns/promises.d.ts" /> 52 /// <reference path="dom-events.d.ts" /> 53 /// <reference path="domain.d.ts" /> 54 /// <reference path="events.d.ts" /> 55 /// <reference path="fs.d.ts" /> 56 /// <reference path="fs/promises.d.ts" /> 57 /// <reference path="http.d.ts" /> 58 /// <reference path="http2.d.ts" /> 59 /// <reference path="https.d.ts" /> 60 /// <reference path="inspector.d.ts" /> 61 /// <reference path="module.d.ts" /> 62 /// <reference path="net.d.ts" /> 63 /// <reference path="os.d.ts" /> 64 /// <reference path="path.d.ts" /> 65 /// <reference path="perf_hooks.d.ts" /> 66 /// <reference path="process.d.ts" /> 67 /// <reference path="punycode.d.ts" /> 68 /// <reference path="querystring.d.ts" /> 69 /// <reference path="readline.d.ts" /> 70 /// <reference path="repl.d.ts" /> 71 /// <reference path="stream.d.ts" /> 72 /// <reference path="stream/promises.d.ts" /> 73 /// <reference path="stream/consumers.d.ts" /> 74 /// <reference path="stream/web.d.ts" /> 75 /// <reference path="string_decoder.d.ts" /> 76 /// <reference path="test.d.ts" /> 77 /// <reference path="timers.d.ts" /> 78 /// <reference path="timers/promises.d.ts" /> 79 /// <reference path="tls.d.ts" /> 80 /// <reference path="trace_events.d.ts" /> 81 /// <reference path="tty.d.ts" /> 82 /// <reference path="url.d.ts" /> 83 /// <reference path="util.d.ts" /> 84 /// <reference path="v8.d.ts" /> 85 /// <reference path="vm.d.ts" /> 86 /// <reference path="wasi.d.ts" /> 87 /// <reference path="worker_threads.d.ts" /> 88 /// <reference path="zlib.d.ts" />