mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
* 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
21 lines
950 B
TypeScript
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" />
|