consolidate ts3.1 and ts3.2 extensions for node v10

This commit is contained in:
Jonathan Stewmon
2019-02-23 21:56:20 -06:00
parent 350497b46b
commit d901248885
7 changed files with 2 additions and 66 deletions
-5
View File
@@ -2,11 +2,6 @@
"private": true,
"types": "index",
"typesVersions": {
">=3.1.0-0": {
"*": [
"ts3.1/*"
]
},
">=3.2.0-0": {
"*": [
"ts3.2/*"
-18
View File
@@ -1,18 +0,0 @@
// NOTE: These definitions support NodeJS and TypeScript 3.1.
// 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.1/index.d.ts - Definitions specific to TypeScript 3.1
// Reference required types from the default lib:
/// <reference lib="es2018" />
/// <reference lib="esnext.asynciterable" />
/// <reference lib="esnext.intl" />
// 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.1-specific augmentations:
/// <reference path="util.d.ts" />
-2
View File
@@ -1,2 +0,0 @@
// tslint:disable-next-line:no-bad-reference
import "../node-tests";
-30
View File
@@ -1,30 +0,0 @@
{
"files": [
"index.d.ts",
"node-tests.ts"
],
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"lib": [
"es6",
"dom"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": false,
"strictFunctionTypes": true,
"baseUrl": "../../../",
"typeRoots": [
"../../../"
],
"paths": {
"node": [
"node/v10"
]
},
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
}
}
-10
View File
@@ -1,10 +0,0 @@
{
"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
}
}
+2 -1
View File
@@ -13,7 +13,8 @@
// 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/index.d.ts" />
/// <reference path="../base.d.ts" />
// TypeScript 3.2-specific augmentations:
/// <reference path="util.d.ts" />
/// <reference path="globals.d.ts" />