-
Notifications
You must be signed in to change notification settings - Fork 29.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NodeJS] Support 'typesVersions' in node/v6 through node/v9 (#34678)
* Split node/v8 and node/v9 * Split node/v7 and add typesVersions * Split node/v6 and add typesVersions * Revert major file split but preserve 'typesVersions' support for v6-v9
- Loading branch information
Showing
33 changed files
with
37,911 additions
and
23,993 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"private": true, | ||
"types": "index", | ||
"typesVersions": { | ||
">=3.2.0-0": { | ||
"*": [ | ||
"ts3.2/*" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// NOTE: These definitions support NodeJS and TypeScript 3.2. | ||
|
||
// 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.2/index.d.ts - Definitions specific to TypeScript 3.2 | ||
|
||
// Reference required types from the default lib: | ||
/// <reference lib="es2015" /> | ||
|
||
// Base definitions for all NodeJS modules that are not specific to any version of TypeScript: | ||
// tslint:disable-next-line:no-bad-reference | ||
/// <reference path="../base.d.ts" /> | ||
|
||
// TypeScript 3.2-specific augmentations: |
Oops, something went wrong.