DefinitelyTyped/types/node/base.d.ts
Nathan Shively-Sanders 6e8dd401ba
Put current version of node in the root (#47195)
* Put current version of node in the root

Previously, the code that supports the oldest version of Typescript was
in the root: 3.1 and below. Newer versions were is ts*/ subdirectories.

This PR puts the newest version in the root, and older versions --
usually 3.7 and below -- in ts*/ subdirectories. This is possible
because all supported versions of the Typescript now understand the
typesVersions property in package.json.

This PR needs a new version of DefinitelyTyped-tools and dtslint, which
I will ship soon. It also needs to be brought up to date with master.

* Delete missed files

* fix relative reference
2020-09-02 08:25:00 -07:00

21 lines
950 B
TypeScript

// NOTE: These definitions support NodeJS and TypeScript 3.7.
// NOTE: TypeScript version-specific augmentations can be found in the following paths:
// - ~/base.d.ts - Shared definitions common to all TypeScript versions
// - ~/index.d.ts - Definitions specific to TypeScript 2.1
// - ~/ts3.7/base.d.ts - Definitions specific to TypeScript 3.7
// - ~/ts3.7/index.d.ts - Definitions specific to TypeScript 3.7 with assert pulled in
// Reference required types from the default lib:
/// <reference lib="es2018" />
/// <reference lib="esnext.asynciterable" />
/// <reference lib="esnext.intl" />
/// <reference lib="esnext.bigint" />
// 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.6/base.d.ts" />
// TypeScript 3.7-specific augmentations:
/// <reference path="assert.d.ts" />