From 42335c57f5eb206bff3724e10349c8538277976f Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Tue, 7 Feb 2017 16:30:34 -0800 Subject: [PATCH] Revert "Use types tsconfig option where possible" This reverts commit 38fbba35ffa282fc523791002062dec6c93451d7. --- extensions/configuration-editing/src/typings/ref.d.ts | 2 +- extensions/configuration-editing/tsconfig.json | 7 ++----- extensions/extension-editing/src/typings/ref.d.ts | 1 + extensions/extension-editing/tsconfig.json | 5 +---- extensions/git/src/typings/refs.d.ts | 2 +- extensions/git/tsconfig.json | 5 +---- extensions/javascript/src/typings/ref.d.ts | 2 +- extensions/javascript/tsconfig.json | 3 --- extensions/markdown/src/typings/ref.d.ts | 2 +- extensions/markdown/tsconfig.json | 5 +---- extensions/php/src/typings/refs.d.ts | 2 +- extensions/php/tsconfig.json | 5 +---- extensions/typescript/src/typings/ref.d.ts | 2 +- extensions/typescript/tsconfig.json | 5 +---- extensions/vscode-api-tests/src/typings/ref.d.ts | 2 +- extensions/vscode-api-tests/tsconfig.json | 5 +---- extensions/vscode-colorize-tests/src/typings/ref.d.ts | 7 +++++++ extensions/vscode-colorize-tests/tsconfig.json | 6 +----- 18 files changed, 24 insertions(+), 44 deletions(-) create mode 100644 extensions/vscode-colorize-tests/src/typings/ref.d.ts diff --git a/extensions/configuration-editing/src/typings/ref.d.ts b/extensions/configuration-editing/src/typings/ref.d.ts index 9660f58180a..bc057c55878 100644 --- a/extensions/configuration-editing/src/typings/ref.d.ts +++ b/extensions/configuration-editing/src/typings/ref.d.ts @@ -4,4 +4,4 @@ *--------------------------------------------------------------------------------------------*/ /// - +/// diff --git a/extensions/configuration-editing/tsconfig.json b/extensions/configuration-editing/tsconfig.json index 8fe6c19e8cc..3fd4b7cd117 100644 --- a/extensions/configuration-editing/tsconfig.json +++ b/extensions/configuration-editing/tsconfig.json @@ -6,12 +6,9 @@ "lib": [ "es2015" ], - "strictNullChecks": true, - "types": [ - "node" - ] + "strictNullChecks": true }, "exclude": [ "node_modules" ] -} \ No newline at end of file +} diff --git a/extensions/extension-editing/src/typings/ref.d.ts b/extensions/extension-editing/src/typings/ref.d.ts index 216911a680e..bc057c55878 100644 --- a/extensions/extension-editing/src/typings/ref.d.ts +++ b/extensions/extension-editing/src/typings/ref.d.ts @@ -4,3 +4,4 @@ *--------------------------------------------------------------------------------------------*/ /// +/// diff --git a/extensions/extension-editing/tsconfig.json b/extensions/extension-editing/tsconfig.json index 1f4a5a743af..90ac01c2d39 100644 --- a/extensions/extension-editing/tsconfig.json +++ b/extensions/extension-editing/tsconfig.json @@ -5,10 +5,7 @@ "es2015" ], "module": "commonjs", - "outDir": "./out", - "types": [ - "node" - ] + "outDir": "./out" }, "exclude": [ "node_modules" diff --git a/extensions/git/src/typings/refs.d.ts b/extensions/git/src/typings/refs.d.ts index 5e95d7a766e..954bab971e3 100644 --- a/extensions/git/src/typings/refs.d.ts +++ b/extensions/git/src/typings/refs.d.ts @@ -5,4 +5,4 @@ /// /// - +/// diff --git a/extensions/git/tsconfig.json b/extensions/git/tsconfig.json index 77471cf3a6c..bed30f8826c 100644 --- a/extensions/git/tsconfig.json +++ b/extensions/git/tsconfig.json @@ -7,10 +7,7 @@ "module": "commonjs", "outDir": "./out", "strictNullChecks": true, - "experimentalDecorators": true, - "types": [ - "node" - ] + "experimentalDecorators": true }, "exclude": [ "node_modules" diff --git a/extensions/javascript/src/typings/ref.d.ts b/extensions/javascript/src/typings/ref.d.ts index 9660f58180a..bc057c55878 100644 --- a/extensions/javascript/src/typings/ref.d.ts +++ b/extensions/javascript/src/typings/ref.d.ts @@ -4,4 +4,4 @@ *--------------------------------------------------------------------------------------------*/ /// - +/// diff --git a/extensions/javascript/tsconfig.json b/extensions/javascript/tsconfig.json index 15ec75fbe49..551261ed46d 100644 --- a/extensions/javascript/tsconfig.json +++ b/extensions/javascript/tsconfig.json @@ -5,9 +5,6 @@ "outDir": "./out", "lib": [ "es2015" - ], - "types": [ - "node" ] }, "exclude": [ diff --git a/extensions/markdown/src/typings/ref.d.ts b/extensions/markdown/src/typings/ref.d.ts index 9660f58180a..bc057c55878 100644 --- a/extensions/markdown/src/typings/ref.d.ts +++ b/extensions/markdown/src/typings/ref.d.ts @@ -4,4 +4,4 @@ *--------------------------------------------------------------------------------------------*/ /// - +/// diff --git a/extensions/markdown/tsconfig.json b/extensions/markdown/tsconfig.json index 7dcf0a0250c..7e8097e8fb4 100644 --- a/extensions/markdown/tsconfig.json +++ b/extensions/markdown/tsconfig.json @@ -12,10 +12,7 @@ "noImplicitAny": true, "noImplicitReturns": true, "noUnusedLocals": true, - "noUnusedParameters": true, - "types": [ - "node" - ] + "noUnusedParameters": true }, "exclude": [ "node_modules" diff --git a/extensions/php/src/typings/refs.d.ts b/extensions/php/src/typings/refs.d.ts index 9660f58180a..bc057c55878 100644 --- a/extensions/php/src/typings/refs.d.ts +++ b/extensions/php/src/typings/refs.d.ts @@ -4,4 +4,4 @@ *--------------------------------------------------------------------------------------------*/ /// - +/// diff --git a/extensions/php/tsconfig.json b/extensions/php/tsconfig.json index 1f4a5a743af..90ac01c2d39 100644 --- a/extensions/php/tsconfig.json +++ b/extensions/php/tsconfig.json @@ -5,10 +5,7 @@ "es2015" ], "module": "commonjs", - "outDir": "./out", - "types": [ - "node" - ] + "outDir": "./out" }, "exclude": [ "node_modules" diff --git a/extensions/typescript/src/typings/ref.d.ts b/extensions/typescript/src/typings/ref.d.ts index 9660f58180a..bc057c55878 100644 --- a/extensions/typescript/src/typings/ref.d.ts +++ b/extensions/typescript/src/typings/ref.d.ts @@ -4,4 +4,4 @@ *--------------------------------------------------------------------------------------------*/ /// - +/// diff --git a/extensions/typescript/tsconfig.json b/extensions/typescript/tsconfig.json index c698f6c2cd8..2e44abefad4 100644 --- a/extensions/typescript/tsconfig.json +++ b/extensions/typescript/tsconfig.json @@ -11,10 +11,7 @@ "noImplicitAny": true, "noImplicitReturns": true, "noUnusedLocals": true, - "noUnusedParameters": true, - "types": [ - "node" - ] + "noUnusedParameters": true }, "exclude": [ "node_modules", diff --git a/extensions/vscode-api-tests/src/typings/ref.d.ts b/extensions/vscode-api-tests/src/typings/ref.d.ts index f72e30c116d..88a4b528289 100644 --- a/extensions/vscode-api-tests/src/typings/ref.d.ts +++ b/extensions/vscode-api-tests/src/typings/ref.d.ts @@ -5,4 +5,4 @@ /// /// - +/// diff --git a/extensions/vscode-api-tests/tsconfig.json b/extensions/vscode-api-tests/tsconfig.json index 24088312b1d..620857bb06f 100644 --- a/extensions/vscode-api-tests/tsconfig.json +++ b/extensions/vscode-api-tests/tsconfig.json @@ -7,10 +7,7 @@ "es2015" ], "sourceMap": true, - "strictNullChecks": true, - "types": [ - "node" - ] + "strictNullChecks": true }, "exclude": [ "node_modules" diff --git a/extensions/vscode-colorize-tests/src/typings/ref.d.ts b/extensions/vscode-colorize-tests/src/typings/ref.d.ts new file mode 100644 index 00000000000..b5848321017 --- /dev/null +++ b/extensions/vscode-colorize-tests/src/typings/ref.d.ts @@ -0,0 +1,7 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ + +/// +/// diff --git a/extensions/vscode-colorize-tests/tsconfig.json b/extensions/vscode-colorize-tests/tsconfig.json index 114e199c1e9..099a940aa2e 100644 --- a/extensions/vscode-colorize-tests/tsconfig.json +++ b/extensions/vscode-colorize-tests/tsconfig.json @@ -6,11 +6,7 @@ "lib": [ "es2015" ], - "sourceMap": true, - "types": [ - "mocha", - "node" - ] + "sourceMap": true }, "exclude": [ "node_modules"