mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
[node] Put newest versions of files in the root (#47576)
This commit is contained in:
parent
d9cb54e3c9
commit
ef49ffb4c8
@ -1,5 +1,5 @@
|
||||
// tslint:disable-next-line:no-bad-reference
|
||||
/// <reference path="../ts3.1/fs.d.ts" />
|
||||
/// <reference path="ts3.1/fs.d.ts" />
|
||||
|
||||
declare module 'fs' {
|
||||
interface BigIntStats extends StatsBase<bigint> {
|
||||
@ -1,5 +1,5 @@
|
||||
// tslint:disable-next-line:no-bad-reference
|
||||
/// <reference path="../ts3.1/globals.d.ts" />
|
||||
/// <reference path="ts3.1/globals.d.ts" />
|
||||
|
||||
interface Buffer extends Uint8Array {
|
||||
readBigUInt64BE(offset?: number): bigint;
|
||||
@ -1,5 +1,5 @@
|
||||
// tslint:disable-next-line:no-bad-reference
|
||||
/// <reference path="../ts3.1/process.d.ts" />
|
||||
/// <reference path="ts3.1/process.d.ts" />
|
||||
|
||||
declare module 'process' {
|
||||
global {
|
||||
72
types/node/ts3.1/base.d.ts
vendored
72
types/node/ts3.1/base.d.ts
vendored
@ -1,42 +1,42 @@
|
||||
// base definitions for all NodeJS modules that are not specific to any version of TypeScript
|
||||
|
||||
/// <reference path="globals.d.ts" />
|
||||
/// <reference path="async_hooks.d.ts" />
|
||||
/// <reference path="buffer.d.ts" />
|
||||
/// <reference path="child_process.d.ts" />
|
||||
/// <reference path="cluster.d.ts" />
|
||||
/// <reference path="console.d.ts" />
|
||||
/// <reference path="constants.d.ts" />
|
||||
/// <reference path="crypto.d.ts" />
|
||||
/// <reference path="dgram.d.ts" />
|
||||
/// <reference path="dns.d.ts" />
|
||||
/// <reference path="domain.d.ts" />
|
||||
/// <reference path="events.d.ts" />
|
||||
/// <reference path="../async_hooks.d.ts" />
|
||||
/// <reference path="../buffer.d.ts" />
|
||||
/// <reference path="../child_process.d.ts" />
|
||||
/// <reference path="../cluster.d.ts" />
|
||||
/// <reference path="../console.d.ts" />
|
||||
/// <reference path="../constants.d.ts" />
|
||||
/// <reference path="../crypto.d.ts" />
|
||||
/// <reference path="../dgram.d.ts" />
|
||||
/// <reference path="../dns.d.ts" />
|
||||
/// <reference path="../domain.d.ts" />
|
||||
/// <reference path="../events.d.ts" />
|
||||
/// <reference path="fs.d.ts" />
|
||||
/// <reference path="fs/promises.d.ts" />
|
||||
/// <reference path="http.d.ts" />
|
||||
/// <reference path="http2.d.ts" />
|
||||
/// <reference path="https.d.ts" />
|
||||
/// <reference path="inspector.d.ts" />
|
||||
/// <reference path="module.d.ts" />
|
||||
/// <reference path="net.d.ts" />
|
||||
/// <reference path="os.d.ts" />
|
||||
/// <reference path="path.d.ts" />
|
||||
/// <reference path="perf_hooks.d.ts" />
|
||||
/// <reference path="../fs/promises.d.ts" />
|
||||
/// <reference path="../http.d.ts" />
|
||||
/// <reference path="../http2.d.ts" />
|
||||
/// <reference path="../https.d.ts" />
|
||||
/// <reference path="../inspector.d.ts" />
|
||||
/// <reference path="../module.d.ts" />
|
||||
/// <reference path="../net.d.ts" />
|
||||
/// <reference path="../os.d.ts" />
|
||||
/// <reference path="../path.d.ts" />
|
||||
/// <reference path="../perf_hooks.d.ts" />
|
||||
/// <reference path="process.d.ts" />
|
||||
/// <reference path="punycode.d.ts" />
|
||||
/// <reference path="querystring.d.ts" />
|
||||
/// <reference path="readline.d.ts" />
|
||||
/// <reference path="repl.d.ts" />
|
||||
/// <reference path="stream.d.ts" />
|
||||
/// <reference path="string_decoder.d.ts" />
|
||||
/// <reference path="timers.d.ts" />
|
||||
/// <reference path="tls.d.ts" />
|
||||
/// <reference path="trace_events.d.ts" />
|
||||
/// <reference path="tty.d.ts" />
|
||||
/// <reference path="url.d.ts" />
|
||||
/// <reference path="../punycode.d.ts" />
|
||||
/// <reference path="../querystring.d.ts" />
|
||||
/// <reference path="../readline.d.ts" />
|
||||
/// <reference path="../repl.d.ts" />
|
||||
/// <reference path="../stream.d.ts" />
|
||||
/// <reference path="../string_decoder.d.ts" />
|
||||
/// <reference path="../timers.d.ts" />
|
||||
/// <reference path="../tls.d.ts" />
|
||||
/// <reference path="../trace_events.d.ts" />
|
||||
/// <reference path="../tty.d.ts" />
|
||||
/// <reference path="../url.d.ts" />
|
||||
/// <reference path="util.d.ts" />
|
||||
/// <reference path="v8.d.ts" />
|
||||
/// <reference path="vm.d.ts" />
|
||||
/// <reference path="worker_threads.d.ts" />
|
||||
/// <reference path="zlib.d.ts" />
|
||||
/// <reference path="../v8.d.ts" />
|
||||
/// <reference path="../vm.d.ts" />
|
||||
/// <reference path="../worker_threads.d.ts" />
|
||||
/// <reference path="../zlib.d.ts" />
|
||||
|
||||
@ -2,9 +2,9 @@
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"ban-types": false,
|
||||
"no-bad-reference": false,
|
||||
"no-empty-interface": false,
|
||||
"no-single-declare-module": false,
|
||||
"no-unnecessary-class": false,
|
||||
"unified-signatures": false
|
||||
}
|
||||
}
|
||||
|
||||
8
types/node/ts3.4/base.d.ts
vendored
8
types/node/ts3.4/base.d.ts
vendored
@ -17,7 +17,7 @@
|
||||
/// <reference path="../ts3.1/base.d.ts" />
|
||||
|
||||
// TypeScript 3.2-specific augmentations:
|
||||
/// <reference path="fs.d.ts" />
|
||||
/// <reference path="process.d.ts" />
|
||||
/// <reference path="util.d.ts" />
|
||||
/// <reference path="globals.d.ts" />
|
||||
/// <reference path="../fs.d.ts" />
|
||||
/// <reference path="../process.d.ts" />
|
||||
/// <reference path="../util.d.ts" />
|
||||
/// <reference path="../globals.d.ts" />
|
||||
|
||||
@ -1,10 +1,6 @@
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"ban-types": false,
|
||||
"unified-signatures": false,
|
||||
"no-empty-interface": false,
|
||||
"no-single-declare-module": false,
|
||||
"strict-export-declare-modifiers": false // http2 needs this
|
||||
"no-bad-reference": false
|
||||
}
|
||||
}
|
||||
|
||||
4
types/node/ts3.6/base.d.ts
vendored
4
types/node/ts3.6/base.d.ts
vendored
@ -17,7 +17,7 @@
|
||||
/// <reference path="../ts3.4/base.d.ts" />
|
||||
|
||||
// TypeScript 3.5-specific augmentations:
|
||||
/// <reference path="globals.global.d.ts" />
|
||||
/// <reference path="../globals.global.d.ts" />
|
||||
|
||||
// TypeScript 3.5-specific augmentations:
|
||||
/// <reference path="wasi.d.ts" />
|
||||
/// <reference path="../wasi.d.ts" />
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"node-tests.ts",
|
||||
"test/globals.ts"
|
||||
"node-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"no-single-declare-module": false
|
||||
"no-bad-reference": false
|
||||
}
|
||||
}
|
||||
|
||||
@ -6,14 +6,15 @@
|
||||
"test/async_hooks.ts",
|
||||
"test/buffer.ts",
|
||||
"test/child_process.ts",
|
||||
"test/constants.ts",
|
||||
"test/cluster.ts",
|
||||
"test/constants.ts",
|
||||
"test/crypto.ts",
|
||||
"test/dgram.ts",
|
||||
"test/dns.ts",
|
||||
"test/events.ts",
|
||||
"test/fs.ts",
|
||||
"test/global.ts",
|
||||
"test/globals.ts",
|
||||
"test/http.ts",
|
||||
"test/http2.ts",
|
||||
"test/module.ts",
|
||||
@ -29,12 +30,12 @@
|
||||
"test/string_decoder.ts",
|
||||
"test/tls.ts",
|
||||
"test/tty.ts",
|
||||
"test/url.ts",
|
||||
"test/util.ts",
|
||||
"test/v8.ts",
|
||||
"test/vm.ts",
|
||||
"test/worker_threads.ts",
|
||||
"test/zlib.ts",
|
||||
"test/url.ts"
|
||||
"test/zlib.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
|
||||
@ -2,9 +2,10 @@
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"ban-types": false,
|
||||
"unified-signatures": false,
|
||||
"no-empty-interface": false,
|
||||
"no-single-declare-module": false,
|
||||
"strict-export-declare-modifiers": false // http2 needs this
|
||||
"no-unnecessary-class": false,
|
||||
"strict-export-declare-modifiers": false,
|
||||
"unified-signatures": false
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
// tslint:disable-next-line:no-bad-reference
|
||||
/// <reference path="../ts3.1/util.d.ts" />
|
||||
/// <reference path="ts3.1/util.d.ts" />
|
||||
|
||||
declare module "util" {
|
||||
namespace types {
|
||||
2
types/node/v10/base.d.ts
vendored
2
types/node/v10/base.d.ts
vendored
@ -14,7 +14,7 @@
|
||||
|
||||
// Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
|
||||
// tslint:disable-next-line:no-bad-reference
|
||||
/// <reference path="ts3.1/base.d.ts" />
|
||||
/// <reference path="ts3.6/base.d.ts" />
|
||||
|
||||
// TypeScript 3.7-specific augmentations:
|
||||
/// <reference path="assert.d.ts" />
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
// tslint:disable-next-line:no-bad-reference
|
||||
/// <reference path="../ts3.1/globals.d.ts" />
|
||||
/// <reference path="ts3.1/globals.d.ts" />
|
||||
|
||||
declare namespace NodeJS {
|
||||
interface HRTime {
|
||||
74
types/node/v10/ts3.1/base.d.ts
vendored
74
types/node/v10/ts3.1/base.d.ts
vendored
@ -1,40 +1,40 @@
|
||||
// base definitions for all NodeJS modules that are not specific to any version of TypeScript
|
||||
/// <reference path="globals.d.ts" />
|
||||
/// <reference path="async_hooks.d.ts" />
|
||||
/// <reference path="buffer.d.ts" />
|
||||
/// <reference path="child_process.d.ts" />
|
||||
/// <reference path="cluster.d.ts" />
|
||||
/// <reference path="console.d.ts" />
|
||||
/// <reference path="constants.d.ts" />
|
||||
/// <reference path="crypto.d.ts" />
|
||||
/// <reference path="dgram.d.ts" />
|
||||
/// <reference path="dns.d.ts" />
|
||||
/// <reference path="domain.d.ts" />
|
||||
/// <reference path="events.d.ts" />
|
||||
/// <reference path="fs.d.ts" />
|
||||
/// <reference path="http.d.ts" />
|
||||
/// <reference path="http2.d.ts" />
|
||||
/// <reference path="https.d.ts" />
|
||||
/// <reference path="inspector.d.ts" />
|
||||
/// <reference path="module.d.ts" />
|
||||
/// <reference path="net.d.ts" />
|
||||
/// <reference path="os.d.ts" />
|
||||
/// <reference path="path.d.ts" />
|
||||
/// <reference path="perf_hooks.d.ts" />
|
||||
/// <reference path="process.d.ts" />
|
||||
/// <reference path="punycode.d.ts" />
|
||||
/// <reference path="querystring.d.ts" />
|
||||
/// <reference path="readline.d.ts" />
|
||||
/// <reference path="repl.d.ts" />
|
||||
/// <reference path="stream.d.ts" />
|
||||
/// <reference path="string_decoder.d.ts" />
|
||||
/// <reference path="timers.d.ts" />
|
||||
/// <reference path="tls.d.ts" />
|
||||
/// <reference path="trace_events.d.ts" />
|
||||
/// <reference path="tty.d.ts" />
|
||||
/// <reference path="url.d.ts" />
|
||||
/// <reference path="../async_hooks.d.ts" />
|
||||
/// <reference path="../buffer.d.ts" />
|
||||
/// <reference path="../child_process.d.ts" />
|
||||
/// <reference path="../cluster.d.ts" />
|
||||
/// <reference path="../console.d.ts" />
|
||||
/// <reference path="../constants.d.ts" />
|
||||
/// <reference path="../crypto.d.ts" />
|
||||
/// <reference path="../dgram.d.ts" />
|
||||
/// <reference path="../dns.d.ts" />
|
||||
/// <reference path="../domain.d.ts" />
|
||||
/// <reference path="../events.d.ts" />
|
||||
/// <reference path="../fs.d.ts" />
|
||||
/// <reference path="../http.d.ts" />
|
||||
/// <reference path="../http2.d.ts" />
|
||||
/// <reference path="../https.d.ts" />
|
||||
/// <reference path="../inspector.d.ts" />
|
||||
/// <reference path="../module.d.ts" />
|
||||
/// <reference path="../net.d.ts" />
|
||||
/// <reference path="../os.d.ts" />
|
||||
/// <reference path="../path.d.ts" />
|
||||
/// <reference path="../perf_hooks.d.ts" />
|
||||
/// <reference path="../process.d.ts" />
|
||||
/// <reference path="../punycode.d.ts" />
|
||||
/// <reference path="../querystring.d.ts" />
|
||||
/// <reference path="../readline.d.ts" />
|
||||
/// <reference path="../repl.d.ts" />
|
||||
/// <reference path="../stream.d.ts" />
|
||||
/// <reference path="../string_decoder.d.ts" />
|
||||
/// <reference path="../timers.d.ts" />
|
||||
/// <reference path="../tls.d.ts" />
|
||||
/// <reference path="../trace_events.d.ts" />
|
||||
/// <reference path="../tty.d.ts" />
|
||||
/// <reference path="../url.d.ts" />
|
||||
/// <reference path="util.d.ts" />
|
||||
/// <reference path="v8.d.ts" />
|
||||
/// <reference path="vm.d.ts" />
|
||||
/// <reference path="worker_threads.d.ts" />
|
||||
/// <reference path="zlib.d.ts" />
|
||||
/// <reference path="../v8.d.ts" />
|
||||
/// <reference path="../vm.d.ts" />
|
||||
/// <reference path="../worker_threads.d.ts" />
|
||||
/// <reference path="../zlib.d.ts" />
|
||||
|
||||
@ -2,9 +2,9 @@
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"ban-types": false,
|
||||
"no-bad-reference": false,
|
||||
"no-empty-interface": false,
|
||||
"no-single-declare-module": false,
|
||||
"strict-export-declare-modifiers": false,
|
||||
"unified-signatures": false
|
||||
}
|
||||
}
|
||||
|
||||
4
types/node/v10/ts3.6/base.d.ts
vendored
4
types/node/v10/ts3.6/base.d.ts
vendored
@ -17,5 +17,5 @@
|
||||
/// <reference path="../ts3.1/base.d.ts" />
|
||||
|
||||
// TypeScript 3.2-specific augmentations:
|
||||
/// <reference path="util.d.ts" />
|
||||
/// <reference path="globals.d.ts" />
|
||||
/// <reference path="../util.d.ts" />
|
||||
/// <reference path="../globals.d.ts" />
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"no-single-declare-module": false
|
||||
"no-bad-reference": false
|
||||
}
|
||||
}
|
||||
|
||||
@ -2,9 +2,9 @@
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"ban-types": false,
|
||||
"unified-signatures": false,
|
||||
"no-empty-interface": false,
|
||||
"no-single-declare-module": false,
|
||||
"strict-export-declare-modifiers": false // http2 needs this
|
||||
"strict-export-declare-modifiers": false,
|
||||
"unified-signatures": false
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
// tslint:disable-next-line:no-bad-reference
|
||||
/// <reference path="../ts3.1/util.d.ts" />
|
||||
/// <reference path="ts3.1/util.d.ts" />
|
||||
|
||||
declare module "util" {
|
||||
namespace inspect {
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user