diff --git a/src/compiler/program.ts b/src/compiler/program.ts
index c3f6d8e3a43a4..7ae25aa1a2727 100644
--- a/src/compiler/program.ts
+++ b/src/compiler/program.ts
@@ -4307,17 +4307,23 @@ export function createProgram(rootNamesOrOptions: readonly string[] | CreateProg
}
}
- function verifyDeprecatedCompilerOptions() {
+ function getVersionForDeprecationDiagnostics(reportInvalidIgnoreDeprecations: boolean) {
const version = typeScriptVersion || versionMajorMinor;
const ignoreDeprecations = options.ignoreDeprecations;
if (ignoreDeprecations) {
if (ignoreDeprecations === DeprecationVersion.v5_0 && (version === DeprecationVersion.v5_0 || version === DeprecationVersion.v5_5)) {
return;
}
- else {
+ else if (reportInvalidIgnoreDeprecations) {
createOptionValueDiagnostic("ignoreDeprecations", Diagnostics.Invalid_value_for_ignoreDeprecations);
}
}
+ return version;
+ }
+
+ function verifyDeprecatedCompilerOptions() {
+ const version = getVersionForDeprecationDiagnostics(/*reportInvalidIgnoreDeprecations*/ true);
+ if (!version) return;
if (options.target === ScriptTarget.ES3) {
createDeprecatedDiagnosticForOption(version, "target", "ES3");
}
@@ -4350,27 +4356,47 @@ export function createProgram(rootNamesOrOptions: readonly string[] | CreateProg
}
}
+ function verifyDeprecatedProjectReference(ref: ProjectReference, parentFile: JsonSourceFile | undefined, index: number) {
+ if (ref.prepend) {
+ const version = getVersionForDeprecationDiagnostics(/*reportInvalidIgnoreDeprecations*/ false);
+ if (version) {
+ createDeprecatedOptionForVersionDiagnostic(
+ version,
+ (message, arg0, arg1, arg2) => createDiagnosticForReference(parentFile, index, message, arg0, arg1, arg2),
+ "prepend",
+ );
+ }
+ }
+ }
+
function createDeprecatedDiagnosticForOption(version: string, name: string, value?: string, useInstead?: string) {
+ return createDeprecatedOptionForVersionDiagnostic(
+ version,
+ (message, arg0, arg1, arg2) => {
+ if (useInstead) {
+ const details = chainDiagnosticMessages(/*details*/ undefined, Diagnostics.Use_0_instead, useInstead);
+ const chain = chainDiagnosticMessages(details, message, arg0, arg1, arg2);
+ createDiagnosticForOption(/*onKey*/ !value, name, /*option2*/ undefined, chain);
+ }
+ else {
+ createDiagnosticForOption(/*onKey*/ !value, name, /*option2*/ undefined, message, arg0, arg1, arg2);
+ }
+ },
+ name,
+ value,
+ );
+ }
+
+ function createDeprecatedOptionForVersionDiagnostic(
+ version: string,
+ createDiagnostic: (message: DiagnosticMessage, arg0: string, arg1?: string, arg2?: string) => void,
+ name: string,
+ value?: string) {
if (version === DeprecationVersion.v6_0) {
- if (useInstead) {
- const details = chainDiagnosticMessages(/*details*/ undefined, Diagnostics.Use_0_instead, useInstead);
- const chain = chainDiagnosticMessages(details, Diagnostics.Flag_0_is_deprecated_Please_remove_it_from_your_configuration, value || name);
- createDiagnosticForOption(/*onKey*/ !value, name, /*option2*/ undefined, chain);
- }
- else {
- createDiagnosticForOption(/*onKey*/ !value, name, /*option2*/ undefined, Diagnostics.Flag_0_is_deprecated_Please_remove_it_from_your_configuration, value || name);
- }
+ createDiagnostic(Diagnostics.Flag_0_is_deprecated_Please_remove_it_from_your_configuration, value || name);
}
else {
- if (useInstead) {
- const details = chainDiagnosticMessages(/*details*/ undefined, Diagnostics.Use_0_instead, useInstead);
- const chain = chainDiagnosticMessages(details, Diagnostics.Flag_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_ignoreDeprecations_Colon_2_to_silence_this_error, value || name, DeprecationVersion.v5_5, DeprecationVersion.v5_0);
- createDiagnosticForOption(/*onKey*/ !value, name, /*option2*/ undefined, chain);
- }
- else {
- createDiagnosticForOption(/*onKey*/ !value, name, /*option2*/ undefined,
- Diagnostics.Flag_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_ignoreDeprecations_Colon_2_to_silence_this_error, value || name, DeprecationVersion.v5_5, DeprecationVersion.v5_0);
- }
+ createDiagnostic(Diagnostics.Flag_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_ignoreDeprecations_Colon_2_to_silence_this_error, value || name, DeprecationVersion.v5_5, DeprecationVersion.v5_0);
}
}
@@ -4514,6 +4540,7 @@ export function createProgram(rootNamesOrOptions: readonly string[] | CreateProg
forEachProjectReference(projectReferences, resolvedProjectReferences, (resolvedRef, parent, index) => {
const ref = (parent ? parent.commandLine.projectReferences : projectReferences)![index];
const parentFile = parent && parent.sourceFile as JsonSourceFile;
+ verifyDeprecatedProjectReference(ref, parentFile, index);
if (!resolvedRef) {
createDiagnosticForReference(parentFile, index, Diagnostics.File_0_not_found, ref.path);
return;
@@ -4608,14 +4635,14 @@ export function createProgram(rootNamesOrOptions: readonly string[] | CreateProg
createDiagnosticForOption(/*onKey*/ false, option1, /*option2*/ undefined, message, arg0, arg1);
}
- function createDiagnosticForReference(sourceFile: JsonSourceFile | undefined, index: number, message: DiagnosticMessage, arg0?: string | number, arg1?: string | number) {
+ function createDiagnosticForReference(sourceFile: JsonSourceFile | undefined, index: number, message: DiagnosticMessage, arg0?: string | number, arg1?: string | number, arg2?: string | number) {
const referencesSyntax = firstDefined(getTsConfigPropArray(sourceFile || options.configFile, "references"),
property => isArrayLiteralExpression(property.initializer) ? property.initializer : undefined);
if (referencesSyntax && referencesSyntax.elements.length > index) {
- programDiagnostics.add(createDiagnosticForNodeInSourceFile(sourceFile || options.configFile!, referencesSyntax.elements[index], message, arg0, arg1));
+ programDiagnostics.add(createDiagnosticForNodeInSourceFile(sourceFile || options.configFile!, referencesSyntax.elements[index], message, arg0, arg1, arg2));
}
else {
- programDiagnostics.add(createCompilerDiagnostic(message, arg0, arg1));
+ programDiagnostics.add(createCompilerDiagnostic(message, arg0, arg1, arg2));
}
}
diff --git a/src/testRunner/unittests/tsbuild/amdModulesWithOut.ts b/src/testRunner/unittests/tsbuild/amdModulesWithOut.ts
index 2cfbaa1612637..a7378110ba88c 100644
--- a/src/testRunner/unittests/tsbuild/amdModulesWithOut.ts
+++ b/src/testRunner/unittests/tsbuild/amdModulesWithOut.ts
@@ -59,6 +59,11 @@ describe("unittests:: tsbuild:: outFile:: on amd modules with --out", () => {
subScenario: "modules and globals mixed in amd",
});
+ verifyOutFileScenario({
+ subScenario: "prepend reports deprecation error",
+ modifyFs: fs => replaceText(fs, "/src/app/tsconfig.json", `"ignoreDeprecations": "5.0",`, ""),
+ });
+
// Prologues
describe("Prologues", () => {
verifyOutFileScenario({
diff --git a/src/testRunner/unittests/tsbuild/javascriptProjectEmit.ts b/src/testRunner/unittests/tsbuild/javascriptProjectEmit.ts
index 7cf347be1ef27..e5774c016d7bc 100644
--- a/src/testRunner/unittests/tsbuild/javascriptProjectEmit.ts
+++ b/src/testRunner/unittests/tsbuild/javascriptProjectEmit.ts
@@ -125,6 +125,7 @@ describe("unittests:: tsbuild:: javascriptProjectEmit::", () => {
{
"extends": "../tsconfig.base.json",
"compilerOptions": {
+ "ignoreDeprecations":"5.0",
"composite": true,
"outFile": "sub-project.js",
@@ -150,6 +151,7 @@ describe("unittests:: tsbuild:: javascriptProjectEmit::", () => {
{
"extends": "../tsconfig.base.json",
"compilerOptions": {
+ "ignoreDeprecations":"5.0",
"composite": true,
"outFile": "sub-project-2.js",
@@ -162,6 +164,7 @@ describe("unittests:: tsbuild:: javascriptProjectEmit::", () => {
"/src/tsconfig.json": Utils.dedent`
{
"compilerOptions": {
+ "ignoreDeprecations":"5.0",
"composite": true,
"outFile": "src.js"
},
diff --git a/src/testRunner/unittests/tsbuild/outFile.ts b/src/testRunner/unittests/tsbuild/outFile.ts
index 9f6b15a1f1629..d2c1321e6ad08 100644
--- a/src/testRunner/unittests/tsbuild/outFile.ts
+++ b/src/testRunner/unittests/tsbuild/outFile.ts
@@ -611,6 +611,7 @@ ${internal} enum internalEnum { a, b, c }`);
}));
fs.writeFileSync("/src/third/tsconfig.json", JSON.stringify({
compilerOptions: {
+ ignoreDeprecations: "5.0",
composite: true,
declaration: true,
declarationMap: false,
diff --git a/src/testRunner/unittests/tsbuildWatch/programUpdates.ts b/src/testRunner/unittests/tsbuildWatch/programUpdates.ts
index b4498d1f7e5f9..3910e7e67826e 100644
--- a/src/testRunner/unittests/tsbuildWatch/programUpdates.ts
+++ b/src/testRunner/unittests/tsbuildWatch/programUpdates.ts
@@ -274,7 +274,7 @@ export class someClass2 { }`),
const logicTsConfig: File = {
path: logic[0].path,
content: JSON.stringify({
- compilerOptions: { composite: true, declaration: true, outFile: "index.js" },
+ compilerOptions: { ignoreDeprecations: "5.0", composite: true, declaration: true, outFile: "index.js" },
references: [{ path: "../core", prepend: true }]
})
};
diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js
index 8369d0f7a2c94..53a1994e7197e 100644
--- a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js
+++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js
@@ -24,6 +24,7 @@ const myVar = 30;
//// [/src/app/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"module": "amd",
"composite": true,
diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js
index e7088372bf4d4..63f9c7bce6bce 100644
--- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js
+++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-emitHelpers-in-all-projects.js
@@ -29,6 +29,7 @@ appfile4Spread(10, ...appfile4_ar);
//// [/src/app/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"module": "amd",
"composite": true,
diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js
index 5670134e3391d..75c0c33e698bc 100644
--- a/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js
+++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/multiple-prologues-in-all-projects.js
@@ -26,6 +26,7 @@ const myVar = 30;
//// [/src/app/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"module": "amd",
"composite": true,
diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/prepend-reports-deprecation-error.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/prepend-reports-deprecation-error.js
new file mode 100644
index 0000000000000..3b0f9e9604990
--- /dev/null
+++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/prepend-reports-deprecation-error.js
@@ -0,0 +1,770 @@
+Input::
+//// [/lib/lib.d.ts]
+///
+interface Boolean {}
+interface Function {}
+interface CallableFunction {}
+interface NewableFunction {}
+interface IArguments {}
+interface Number { toExponential: any; }
+interface Object {}
+interface RegExp {}
+interface String { charAt: any; }
+interface Array { length: number; [n: number]: T; }
+interface ReadonlyArray {}
+declare const console: { log(msg: any): void; };
+
+//// [/src/app/file3.ts]
+export const z = 30;
+import { x } from "file1";
+
+//// [/src/app/file4.ts]
+const myVar = 30;
+
+//// [/src/app/tsconfig.json]
+{
+ "compilerOptions": {
+
+ "target": "es5",
+ "module": "amd",
+ "composite": true,
+ "strict": false,
+ "sourceMap": true,
+ "declarationMap": true,
+ "outFile": "module.js"
+ },
+ "exclude": ["module.d.ts"],
+ "references": [
+ { "path": "../lib", "prepend": true }
+ ]
+}
+
+//// [/src/lib/file0.ts]
+const myGlob = 20;
+
+//// [/src/lib/file1.ts]
+export const x = 10;
+
+//// [/src/lib/file2.ts]
+export const y = 20;
+
+//// [/src/lib/global.ts]
+const globalConst = 10;
+
+//// [/src/lib/tsconfig.json]
+{
+ "compilerOptions": {
+ "target": "es5",
+ "module": "amd",
+ "composite": true,
+ "sourceMap": true,
+ "declarationMap": true,
+ "strict": false,
+ "outFile": "module.js"
+ },
+ "exclude": ["module.d.ts"]
+
+}
+
+
+
+Output::
+/lib/tsc --b /src/app --verbose
+[[90m12:00:07 AM[0m] Projects in this build:
+ * src/lib/tsconfig.json
+ * src/app/tsconfig.json
+
+[[90m12:00:08 AM[0m] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.tsbuildinfo' does not exist
+
+[[90m12:00:09 AM[0m] Building project '/src/lib/tsconfig.json'...
+
+[[90m12:00:18 AM[0m] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist
+
+[[90m12:00:19 AM[0m] Building project '/src/app/tsconfig.json'...
+
+[96msrc/app/tsconfig.json[0m:[93m14[0m:[93m9[0m - [91merror[0m[90m TS5101: [0mFlag 'prepend' is deprecated and will stop functioning in TypeScript 5.5. Specify 'ignoreDeprecations: "5.0"' to silence this error.
+
+[7m14[0m { "path": "../lib", "prepend": true }
+[7m [0m [91m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m
+
+
+Found 1 error.
+
+exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
+
+
+//// [/src/lib/module.d.ts]
+declare const myGlob = 20;
+declare module "file1" {
+ export const x = 10;
+}
+declare module "file2" {
+ export const y = 20;
+}
+declare const globalConst = 10;
+//# sourceMappingURL=module.d.ts.map
+
+//// [/src/lib/module.d.ts.map]
+{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["file0.ts","file1.ts","file2.ts","global.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC"}
+
+//// [/src/lib/module.d.ts.map.baseline.txt]
+===================================================================
+JsFile: module.d.ts
+mapUrl: module.d.ts.map
+sourceRoot:
+sources: file0.ts,file1.ts,file2.ts,global.ts
+===================================================================
+-------------------------------------------------------------------
+emittedFile:/src/lib/module.d.ts
+sourceFile:file0.ts
+-------------------------------------------------------------------
+>>>declare const myGlob = 20;
+1 >
+2 >^^^^^^^^
+3 > ^^^^^^
+4 > ^^^^^^
+5 > ^^^^^
+6 > ^
+1 >
+2 >
+3 > const
+4 > myGlob
+5 > = 20
+6 > ;
+1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
+2 >Emitted(1, 9) Source(1, 1) + SourceIndex(0)
+3 >Emitted(1, 15) Source(1, 7) + SourceIndex(0)
+4 >Emitted(1, 21) Source(1, 13) + SourceIndex(0)
+5 >Emitted(1, 26) Source(1, 18) + SourceIndex(0)
+6 >Emitted(1, 27) Source(1, 19) + SourceIndex(0)
+---
+-------------------------------------------------------------------
+emittedFile:/src/lib/module.d.ts
+sourceFile:file1.ts
+-------------------------------------------------------------------
+>>>declare module "file1" {
+>>> export const x = 10;
+1 >^^^^
+2 > ^^^^^^
+3 > ^
+4 > ^^^^^^
+5 > ^
+6 > ^^^^^
+7 > ^
+1 >
+2 > export
+3 >
+4 > const
+5 > x
+6 > = 10
+7 > ;
+1 >Emitted(3, 5) Source(1, 1) + SourceIndex(1)
+2 >Emitted(3, 11) Source(1, 7) + SourceIndex(1)
+3 >Emitted(3, 12) Source(1, 8) + SourceIndex(1)
+4 >Emitted(3, 18) Source(1, 14) + SourceIndex(1)
+5 >Emitted(3, 19) Source(1, 15) + SourceIndex(1)
+6 >Emitted(3, 24) Source(1, 20) + SourceIndex(1)
+7 >Emitted(3, 25) Source(1, 21) + SourceIndex(1)
+---
+-------------------------------------------------------------------
+emittedFile:/src/lib/module.d.ts
+sourceFile:file2.ts
+-------------------------------------------------------------------
+>>>}
+>>>declare module "file2" {
+>>> export const y = 20;
+1 >^^^^
+2 > ^^^^^^
+3 > ^
+4 > ^^^^^^
+5 > ^
+6 > ^^^^^
+7 > ^
+1 >
+2 > export
+3 >
+4 > const
+5 > y
+6 > = 20
+7 > ;
+1 >Emitted(6, 5) Source(1, 1) + SourceIndex(2)
+2 >Emitted(6, 11) Source(1, 7) + SourceIndex(2)
+3 >Emitted(6, 12) Source(1, 8) + SourceIndex(2)
+4 >Emitted(6, 18) Source(1, 14) + SourceIndex(2)
+5 >Emitted(6, 19) Source(1, 15) + SourceIndex(2)
+6 >Emitted(6, 24) Source(1, 20) + SourceIndex(2)
+7 >Emitted(6, 25) Source(1, 21) + SourceIndex(2)
+---
+-------------------------------------------------------------------
+emittedFile:/src/lib/module.d.ts
+sourceFile:global.ts
+-------------------------------------------------------------------
+>>>}
+>>>declare const globalConst = 10;
+1 >
+2 >^^^^^^^^
+3 > ^^^^^^
+4 > ^^^^^^^^^^^
+5 > ^^^^^
+6 > ^
+7 > ^^^^->
+1 >
+2 >
+3 > const
+4 > globalConst
+5 > = 10
+6 > ;
+1 >Emitted(8, 1) Source(1, 1) + SourceIndex(3)
+2 >Emitted(8, 9) Source(1, 1) + SourceIndex(3)
+3 >Emitted(8, 15) Source(1, 7) + SourceIndex(3)
+4 >Emitted(8, 26) Source(1, 18) + SourceIndex(3)
+5 >Emitted(8, 31) Source(1, 23) + SourceIndex(3)
+6 >Emitted(8, 32) Source(1, 24) + SourceIndex(3)
+---
+>>>//# sourceMappingURL=module.d.ts.map
+
+//// [/src/lib/module.js]
+var myGlob = 20;
+define("file1", ["require", "exports"], function (require, exports) {
+ "use strict";
+ Object.defineProperty(exports, "__esModule", { value: true });
+ exports.x = void 0;
+ exports.x = 10;
+});
+define("file2", ["require", "exports"], function (require, exports) {
+ "use strict";
+ Object.defineProperty(exports, "__esModule", { value: true });
+ exports.y = void 0;
+ exports.y = 20;
+});
+var globalConst = 10;
+//# sourceMappingURL=module.js.map
+
+//// [/src/lib/module.js.map]
+{"version":3,"file":"module.js","sourceRoot":"","sources":["file0.ts","file1.ts","file2.ts","global.ts"],"names":[],"mappings":"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC"}
+
+//// [/src/lib/module.js.map.baseline.txt]
+===================================================================
+JsFile: module.js
+mapUrl: module.js.map
+sourceRoot:
+sources: file0.ts,file1.ts,file2.ts,global.ts
+===================================================================
+-------------------------------------------------------------------
+emittedFile:/src/lib/module.js
+sourceFile:file0.ts
+-------------------------------------------------------------------
+>>>var myGlob = 20;
+1 >
+2 >^^^^
+3 > ^^^^^^
+4 > ^^^
+5 > ^^
+6 > ^
+7 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+1 >
+2 >const
+3 > myGlob
+4 > =
+5 > 20
+6 > ;
+1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
+2 >Emitted(1, 5) Source(1, 7) + SourceIndex(0)
+3 >Emitted(1, 11) Source(1, 13) + SourceIndex(0)
+4 >Emitted(1, 14) Source(1, 16) + SourceIndex(0)
+5 >Emitted(1, 16) Source(1, 18) + SourceIndex(0)
+6 >Emitted(1, 17) Source(1, 19) + SourceIndex(0)
+---
+-------------------------------------------------------------------
+emittedFile:/src/lib/module.js
+sourceFile:file1.ts
+-------------------------------------------------------------------
+>>>define("file1", ["require", "exports"], function (require, exports) {
+>>> "use strict";
+>>> Object.defineProperty(exports, "__esModule", { value: true });
+>>> exports.x = void 0;
+>>> exports.x = 10;
+1->^^^^
+2 > ^^^^^^^^
+3 > ^
+4 > ^^^
+5 > ^^
+6 > ^
+1->export const
+2 >
+3 > x
+4 > =
+5 > 10
+6 > ;
+1->Emitted(6, 5) Source(1, 14) + SourceIndex(1)
+2 >Emitted(6, 13) Source(1, 14) + SourceIndex(1)
+3 >Emitted(6, 14) Source(1, 15) + SourceIndex(1)
+4 >Emitted(6, 17) Source(1, 18) + SourceIndex(1)
+5 >Emitted(6, 19) Source(1, 20) + SourceIndex(1)
+6 >Emitted(6, 20) Source(1, 21) + SourceIndex(1)
+---
+-------------------------------------------------------------------
+emittedFile:/src/lib/module.js
+sourceFile:file2.ts
+-------------------------------------------------------------------
+>>>});
+>>>define("file2", ["require", "exports"], function (require, exports) {
+>>> "use strict";
+>>> Object.defineProperty(exports, "__esModule", { value: true });
+>>> exports.y = void 0;
+>>> exports.y = 20;
+1 >^^^^
+2 > ^^^^^^^^
+3 > ^
+4 > ^^^
+5 > ^^
+6 > ^
+1 >export const
+2 >
+3 > y
+4 > =
+5 > 20
+6 > ;
+1 >Emitted(12, 5) Source(1, 14) + SourceIndex(2)
+2 >Emitted(12, 13) Source(1, 14) + SourceIndex(2)
+3 >Emitted(12, 14) Source(1, 15) + SourceIndex(2)
+4 >Emitted(12, 17) Source(1, 18) + SourceIndex(2)
+5 >Emitted(12, 19) Source(1, 20) + SourceIndex(2)
+6 >Emitted(12, 20) Source(1, 21) + SourceIndex(2)
+---
+-------------------------------------------------------------------
+emittedFile:/src/lib/module.js
+sourceFile:global.ts
+-------------------------------------------------------------------
+>>>});
+>>>var globalConst = 10;
+1 >
+2 >^^^^
+3 > ^^^^^^^^^^^
+4 > ^^^
+5 > ^^
+6 > ^
+7 > ^^^^^^^^^^^^->
+1 >
+2 >const
+3 > globalConst
+4 > =
+5 > 10
+6 > ;
+1 >Emitted(14, 1) Source(1, 1) + SourceIndex(3)
+2 >Emitted(14, 5) Source(1, 7) + SourceIndex(3)
+3 >Emitted(14, 16) Source(1, 18) + SourceIndex(3)
+4 >Emitted(14, 19) Source(1, 21) + SourceIndex(3)
+5 >Emitted(14, 21) Source(1, 23) + SourceIndex(3)
+6 >Emitted(14, 22) Source(1, 24) + SourceIndex(3)
+---
+>>>//# sourceMappingURL=module.js.map
+
+//// [/src/lib/module.tsbuildinfo]
+{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":459,"kind":"text"}],"mapHash":"15919942799-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"10339383505-var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}],"mapHash":"-14214505027-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3587416848-const myGlob = 20;","-10726455937-export const x = 10;","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"}
+
+//// [/src/lib/module.tsbuildinfo.baseline.txt]
+======================================================================
+File:: /src/lib/module.js
+----------------------------------------------------------------------
+text: (0-459)
+var myGlob = 20;
+define("file1", ["require", "exports"], function (require, exports) {
+ "use strict";
+ Object.defineProperty(exports, "__esModule", { value: true });
+ exports.x = void 0;
+ exports.x = 10;
+});
+define("file2", ["require", "exports"], function (require, exports) {
+ "use strict";
+ Object.defineProperty(exports, "__esModule", { value: true });
+ exports.y = void 0;
+ exports.y = 20;
+});
+var globalConst = 10;
+
+======================================================================
+======================================================================
+File:: /src/lib/module.d.ts
+----------------------------------------------------------------------
+text: (0-171)
+declare const myGlob = 20;
+declare module "file1" {
+ export const x = 10;
+}
+declare module "file2" {
+ export const y = 20;
+}
+declare const globalConst = 10;
+
+======================================================================
+
+//// [/src/lib/module.tsbuildinfo.readable.baseline.txt]
+{
+ "bundle": {
+ "commonSourceDirectory": "./",
+ "sourceFiles": [
+ "./file0.ts",
+ "./file1.ts",
+ "./file2.ts",
+ "./global.ts"
+ ],
+ "js": {
+ "sections": [
+ {
+ "pos": 0,
+ "end": 459,
+ "kind": "text"
+ }
+ ],
+ "hash": "10339383505-var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map",
+ "mapHash": "15919942799-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}"
+ },
+ "dts": {
+ "sections": [
+ {
+ "pos": 0,
+ "end": 171,
+ "kind": "text"
+ }
+ ],
+ "hash": "10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map",
+ "mapHash": "-14214505027-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}"
+ }
+ },
+ "program": {
+ "fileNames": [
+ "../../lib/lib.d.ts",
+ "./file0.ts",
+ "./file1.ts",
+ "./file2.ts",
+ "./global.ts"
+ ],
+ "fileInfos": {
+ "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };",
+ "./file0.ts": "3587416848-const myGlob = 20;",
+ "./file1.ts": "-10726455937-export const x = 10;",
+ "./file2.ts": "-13729954175-export const y = 20;",
+ "./global.ts": "1028229885-const globalConst = 10;"
+ },
+ "options": {
+ "composite": true,
+ "declarationMap": true,
+ "module": 2,
+ "outFile": "./module.js",
+ "sourceMap": true,
+ "strict": false,
+ "target": 1
+ },
+ "outSignature": "15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n",
+ "latestChangedDtsFile": "./module.d.ts"
+ },
+ "version": "FakeTSVersion",
+ "size": 2773
+}
+
+
+
+Change:: incremental-declaration-doesnt-change
+Input::
+//// [/src/lib/file1.ts]
+export const x = 10;console.log(x);
+
+
+
+Output::
+/lib/tsc --b /src/app --verbose
+[[90m12:00:23 AM[0m] Projects in this build:
+ * src/lib/tsconfig.json
+ * src/app/tsconfig.json
+
+[[90m12:00:24 AM[0m] Project 'src/lib/tsconfig.json' is out of date because output 'src/lib/module.tsbuildinfo' is older than input 'src/lib/file1.ts'
+
+[[90m12:00:25 AM[0m] Building project '/src/lib/tsconfig.json'...
+
+[[90m12:00:33 AM[0m] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.tsbuildinfo' does not exist
+
+[[90m12:00:34 AM[0m] Building project '/src/app/tsconfig.json'...
+
+[96msrc/app/tsconfig.json[0m:[93m14[0m:[93m9[0m - [91merror[0m[90m TS5101: [0mFlag 'prepend' is deprecated and will stop functioning in TypeScript 5.5. Specify 'ignoreDeprecations: "5.0"' to silence this error.
+
+[7m14[0m { "path": "../lib", "prepend": true }
+[7m [0m [91m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m
+
+
+Found 1 error.
+
+exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
+
+
+//// [/src/lib/module.d.ts.map] file written with same contents
+//// [/src/lib/module.d.ts.map.baseline.txt] file written with same contents
+//// [/src/lib/module.js]
+var myGlob = 20;
+define("file1", ["require", "exports"], function (require, exports) {
+ "use strict";
+ Object.defineProperty(exports, "__esModule", { value: true });
+ exports.x = void 0;
+ exports.x = 10;
+ console.log(exports.x);
+});
+define("file2", ["require", "exports"], function (require, exports) {
+ "use strict";
+ Object.defineProperty(exports, "__esModule", { value: true });
+ exports.y = void 0;
+ exports.y = 20;
+});
+var globalConst = 10;
+//# sourceMappingURL=module.js.map
+
+//// [/src/lib/module.js.map]
+{"version":3,"file":"module.js","sourceRoot":"","sources":["file0.ts","file1.ts","file2.ts","global.ts"],"names":[],"mappings":"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICAtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC"}
+
+//// [/src/lib/module.js.map.baseline.txt]
+===================================================================
+JsFile: module.js
+mapUrl: module.js.map
+sourceRoot:
+sources: file0.ts,file1.ts,file2.ts,global.ts
+===================================================================
+-------------------------------------------------------------------
+emittedFile:/src/lib/module.js
+sourceFile:file0.ts
+-------------------------------------------------------------------
+>>>var myGlob = 20;
+1 >
+2 >^^^^
+3 > ^^^^^^
+4 > ^^^
+5 > ^^
+6 > ^
+7 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+1 >
+2 >const
+3 > myGlob
+4 > =
+5 > 20
+6 > ;
+1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
+2 >Emitted(1, 5) Source(1, 7) + SourceIndex(0)
+3 >Emitted(1, 11) Source(1, 13) + SourceIndex(0)
+4 >Emitted(1, 14) Source(1, 16) + SourceIndex(0)
+5 >Emitted(1, 16) Source(1, 18) + SourceIndex(0)
+6 >Emitted(1, 17) Source(1, 19) + SourceIndex(0)
+---
+-------------------------------------------------------------------
+emittedFile:/src/lib/module.js
+sourceFile:file1.ts
+-------------------------------------------------------------------
+>>>define("file1", ["require", "exports"], function (require, exports) {
+>>> "use strict";
+>>> Object.defineProperty(exports, "__esModule", { value: true });
+>>> exports.x = void 0;
+>>> exports.x = 10;
+1->^^^^
+2 > ^^^^^^^^
+3 > ^
+4 > ^^^
+5 > ^^
+6 > ^
+7 > ^^^^^^^^^->
+1->export const
+2 >
+3 > x
+4 > =
+5 > 10
+6 > ;
+1->Emitted(6, 5) Source(1, 14) + SourceIndex(1)
+2 >Emitted(6, 13) Source(1, 14) + SourceIndex(1)
+3 >Emitted(6, 14) Source(1, 15) + SourceIndex(1)
+4 >Emitted(6, 17) Source(1, 18) + SourceIndex(1)
+5 >Emitted(6, 19) Source(1, 20) + SourceIndex(1)
+6 >Emitted(6, 20) Source(1, 21) + SourceIndex(1)
+---
+>>> console.log(exports.x);
+1->^^^^
+2 > ^^^^^^^
+3 > ^
+4 > ^^^
+5 > ^
+6 > ^^^^^^^^^
+7 > ^
+8 > ^
+1->
+2 > console
+3 > .
+4 > log
+5 > (
+6 > x
+7 > )
+8 > ;
+1->Emitted(7, 5) Source(1, 21) + SourceIndex(1)
+2 >Emitted(7, 12) Source(1, 28) + SourceIndex(1)
+3 >Emitted(7, 13) Source(1, 29) + SourceIndex(1)
+4 >Emitted(7, 16) Source(1, 32) + SourceIndex(1)
+5 >Emitted(7, 17) Source(1, 33) + SourceIndex(1)
+6 >Emitted(7, 26) Source(1, 34) + SourceIndex(1)
+7 >Emitted(7, 27) Source(1, 35) + SourceIndex(1)
+8 >Emitted(7, 28) Source(1, 36) + SourceIndex(1)
+---
+-------------------------------------------------------------------
+emittedFile:/src/lib/module.js
+sourceFile:file2.ts
+-------------------------------------------------------------------
+>>>});
+>>>define("file2", ["require", "exports"], function (require, exports) {
+>>> "use strict";
+>>> Object.defineProperty(exports, "__esModule", { value: true });
+>>> exports.y = void 0;
+>>> exports.y = 20;
+1 >^^^^
+2 > ^^^^^^^^
+3 > ^
+4 > ^^^
+5 > ^^
+6 > ^
+1 >export const
+2 >
+3 > y
+4 > =
+5 > 20
+6 > ;
+1 >Emitted(13, 5) Source(1, 14) + SourceIndex(2)
+2 >Emitted(13, 13) Source(1, 14) + SourceIndex(2)
+3 >Emitted(13, 14) Source(1, 15) + SourceIndex(2)
+4 >Emitted(13, 17) Source(1, 18) + SourceIndex(2)
+5 >Emitted(13, 19) Source(1, 20) + SourceIndex(2)
+6 >Emitted(13, 20) Source(1, 21) + SourceIndex(2)
+---
+-------------------------------------------------------------------
+emittedFile:/src/lib/module.js
+sourceFile:global.ts
+-------------------------------------------------------------------
+>>>});
+>>>var globalConst = 10;
+1 >
+2 >^^^^
+3 > ^^^^^^^^^^^
+4 > ^^^
+5 > ^^
+6 > ^
+7 > ^^^^^^^^^^^^->
+1 >
+2 >const
+3 > globalConst
+4 > =
+5 > 10
+6 > ;
+1 >Emitted(15, 1) Source(1, 1) + SourceIndex(3)
+2 >Emitted(15, 5) Source(1, 7) + SourceIndex(3)
+3 >Emitted(15, 16) Source(1, 18) + SourceIndex(3)
+4 >Emitted(15, 19) Source(1, 21) + SourceIndex(3)
+5 >Emitted(15, 21) Source(1, 23) + SourceIndex(3)
+6 >Emitted(15, 22) Source(1, 24) + SourceIndex(3)
+---
+>>>//# sourceMappingURL=module.js.map
+
+//// [/src/lib/module.tsbuildinfo]
+{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":488,"kind":"text"}],"mapHash":"32224580248-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICAtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-12742173550-var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"text"}],"mapHash":"-14214505027-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3587416848-const myGlob = 20;","-4405159098-export const x = 10;console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"}
+
+//// [/src/lib/module.tsbuildinfo.baseline.txt]
+======================================================================
+File:: /src/lib/module.js
+----------------------------------------------------------------------
+text: (0-488)
+var myGlob = 20;
+define("file1", ["require", "exports"], function (require, exports) {
+ "use strict";
+ Object.defineProperty(exports, "__esModule", { value: true });
+ exports.x = void 0;
+ exports.x = 10;
+ console.log(exports.x);
+});
+define("file2", ["require", "exports"], function (require, exports) {
+ "use strict";
+ Object.defineProperty(exports, "__esModule", { value: true });
+ exports.y = void 0;
+ exports.y = 20;
+});
+var globalConst = 10;
+
+======================================================================
+======================================================================
+File:: /src/lib/module.d.ts
+----------------------------------------------------------------------
+text: (0-171)
+declare const myGlob = 20;
+declare module "file1" {
+ export const x = 10;
+}
+declare module "file2" {
+ export const y = 20;
+}
+declare const globalConst = 10;
+
+======================================================================
+
+//// [/src/lib/module.tsbuildinfo.readable.baseline.txt]
+{
+ "bundle": {
+ "commonSourceDirectory": "./",
+ "sourceFiles": [
+ "./file0.ts",
+ "./file1.ts",
+ "./file2.ts",
+ "./global.ts"
+ ],
+ "js": {
+ "sections": [
+ {
+ "pos": 0,
+ "end": 488,
+ "kind": "text"
+ }
+ ],
+ "hash": "-12742173550-var myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n console.log(exports.x);\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\n//# sourceMappingURL=module.js.map",
+ "mapHash": "32224580248-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICAtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}"
+ },
+ "dts": {
+ "sections": [
+ {
+ "pos": 0,
+ "end": 171,
+ "kind": "text"
+ }
+ ],
+ "hash": "10884851940-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map",
+ "mapHash": "-14214505027-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}"
+ }
+ },
+ "program": {
+ "fileNames": [
+ "../../lib/lib.d.ts",
+ "./file0.ts",
+ "./file1.ts",
+ "./file2.ts",
+ "./global.ts"
+ ],
+ "fileInfos": {
+ "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };",
+ "./file0.ts": "3587416848-const myGlob = 20;",
+ "./file1.ts": "-4405159098-export const x = 10;console.log(x);",
+ "./file2.ts": "-13729954175-export const y = 20;",
+ "./global.ts": "1028229885-const globalConst = 10;"
+ },
+ "options": {
+ "composite": true,
+ "declarationMap": true,
+ "module": 2,
+ "outFile": "./module.js",
+ "sourceMap": true,
+ "strict": false,
+ "target": 1
+ },
+ "outSignature": "15835278973-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n",
+ "latestChangedDtsFile": "./module.d.ts"
+ },
+ "version": "FakeTSVersion",
+ "size": 2860
+}
+
diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js
index f103f55566198..3ae4f7dc98ba5 100644
--- a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js
+++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js
@@ -25,6 +25,7 @@ const myVar = 30;
//// [/src/app/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"module": "amd",
"composite": true,
diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js
index f8bae61bbce73..3a001cb7c9952 100644
--- a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js
+++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js
@@ -24,6 +24,7 @@ const myVar = 30;
//// [/src/app/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"module": "amd",
"composite": true,
diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js
index 7f9afc6d63ac6..6fbdc6b19ca4d 100644
--- a/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js
+++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/triple-slash-refs-in-all-projects.js
@@ -29,6 +29,7 @@ declare class appfile4 { }
//// [/src/app/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"module": "amd",
"composite": true,
diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js
index 56748ee4a9b71..69130aeee5941 100644
--- a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js
+++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js
@@ -24,6 +24,7 @@ const myVar = 30;
//// [/src/app/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"module": "amd",
"composite": true,
diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js
index dd58e1cddea4a..72f9638128b9d 100644
--- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js
+++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/modifies-outfile-js-projects-and-concatenates-them-correctly.js
@@ -52,6 +52,7 @@ const c = /** @type {*} */(null);
{
"extends": "../tsconfig.base.json",
"compilerOptions": {
+ "ignoreDeprecations":"5.0",
"composite": true,
"outFile": "sub-project.js",
@@ -79,6 +80,7 @@ function getVar() {
{
"extends": "../tsconfig.base.json",
"compilerOptions": {
+ "ignoreDeprecations":"5.0",
"composite": true,
"outFile": "sub-project-2.js",
@@ -103,6 +105,7 @@ function getVar() {
//// [/src/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations":"5.0",
"composite": true,
"outFile": "src.js"
},
diff --git a/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js b/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js
index 532a6e076cd9d..572accb63c67b 100644
--- a/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js
+++ b/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js
@@ -84,6 +84,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -107,6 +108,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outFile/clean-projects.js b/tests/baselines/reference/tsbuild/outFile/clean-projects.js
index f49a243631e3c..286c310995eba 100644
--- a/tests/baselines/reference/tsbuild/outFile/clean-projects.js
+++ b/tests/baselines/reference/tsbuild/outFile/clean-projects.js
@@ -336,6 +336,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -599,6 +600,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js
index ab102cb11980b..e0de72a2dd383 100644
--- a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js
+++ b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js
@@ -336,6 +336,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -599,6 +600,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js
index 2ba99351e23b0..34f5d22d31fae 100644
--- a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js
+++ b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js
@@ -84,6 +84,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true, "module": "none",
"removeComments": true,
@@ -107,6 +108,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true, "module": "none",
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js
index 5184668da145d..c0f127aa569c4 100644
--- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js
+++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js
@@ -84,6 +84,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -107,6 +108,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js
index b7a378ef555fb..c3f2b4f13399f 100644
--- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js
+++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js
@@ -336,6 +336,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -599,6 +600,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js
index 52f232de294ad..89ce7108d9f8a 100644
--- a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js
+++ b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js
@@ -84,6 +84,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -107,6 +108,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js
index 6dec49d4bbb99..0bcf20118b6aa 100644
--- a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js
+++ b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js
@@ -333,6 +333,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -596,6 +597,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js b/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js
index a18c89e294bf3..e89db69d11688 100644
--- a/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js
+++ b/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js
@@ -84,6 +84,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -107,6 +108,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js
index cd11c4ce5018b..b6c8769566d63 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js
@@ -84,6 +84,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -107,6 +108,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js
index 0f8d41059512d..c8203e0f0e82f 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/declarationMap-and-sourceMap-disabled.js
@@ -84,6 +84,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -105,6 +106,7 @@ class C {
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js
index 50d6713c8e120..6ce612d44ce0d 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-all-projects.js
@@ -88,6 +88,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -113,6 +114,7 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 };
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js
index 36af008af5529..1bb61e7bdeddd 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/emitHelpers-in-only-one-dependency-project.js
@@ -86,6 +86,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -109,6 +110,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js
index 93b7752f3e99d..10c3edc48d798 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js
@@ -84,6 +84,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -107,6 +108,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js
index 31dbffe38fdb1..f394ed33c04a9 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-all-projects.js
@@ -95,6 +95,7 @@ secondsecond_part2Spread(10, ...secondsecond_part2_ar);
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -124,6 +125,7 @@ thirdthird_part1Spread(10, ...thirdthird_part1_ar);
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js
index 0311f951ccd3a..b26fe673408c8 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-emitHelpers-in-different-projects.js
@@ -89,6 +89,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -115,6 +116,7 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 };
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js
index 2d11809cd16e8..fbabf57bacd17 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-all-projects.js
@@ -87,6 +87,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -112,6 +113,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js
index c224bc529fd3c..2b2e7442cbfa5 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/multiple-prologues-in-different-projects.js
@@ -86,6 +86,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -109,6 +110,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js
index 577086b3e0f13..2ac5572e3dce2 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-all-projects.js
@@ -87,6 +87,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -111,6 +112,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js
index 4c6b5400ed0a1..a4cd086cadc1e 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/shebang-in-only-one-dependency-project.js
@@ -85,6 +85,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -108,6 +109,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js
index 98348902003d1..8e6d670b9b730 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-all-projects.js
@@ -84,6 +84,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -107,6 +108,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js
index a89beedc434ff..857fc647063c4 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/strict-in-one-dependency.js
@@ -84,6 +84,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -107,6 +108,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js
index 553002b1303ce..0d65bc075293e 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-baseline-when-internal-is-inside-another-internal.js
@@ -111,6 +111,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -134,6 +135,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js
index d3f5ef551d08c..4f274e2706126 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js
@@ -109,6 +109,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -133,6 +134,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js
index abe1eaa17d822..ebd90b6cd4d26 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-comment.js
@@ -109,6 +109,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -132,6 +133,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js
index 891e90a0382e9..3a3ff76fa6b06 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js
@@ -109,6 +109,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": false,
@@ -133,6 +134,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": false,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js
index 7af740bc73202..f2b6b0e7809d3 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-jsdoc-style-with-comments-emit-enabled.js
@@ -109,6 +109,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": false,
@@ -132,6 +133,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": false,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js
index fff59c9a2c40b..a338daae00ba0 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-few-members-of-enum-are-internal.js
@@ -106,6 +106,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -129,6 +130,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js
index a2c0dbcc9d82b..d435aff5ce8ef 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-one-two-three-are-prepended-in-order.js
@@ -109,6 +109,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -133,6 +134,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js
index 3593b225cf952..b3a1154e0b887 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-when-prepend-is-completely-internal.js
@@ -54,6 +54,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -73,7 +74,7 @@ class C {
const B = 2;
//// [/src/third/tsconfig.json]
-{"compilerOptions":{"composite":true,"declaration":true,"declarationMap":false,"stripInternal":true,"sourceMap":true,"outFile":"./thirdjs/output/third-output.js"},"references":[{"path":"../first","prepend":true}],"files":["/src/third/third_part1.ts"]}
+{"compilerOptions":{"ignoreDeprecations":"5.0","composite":true,"declaration":true,"declarationMap":false,"stripInternal":true,"sourceMap":true,"outFile":"./thirdjs/output/third-output.js"},"references":[{"path":"../first","prepend":true}],"files":["/src/third/third_part1.ts"]}
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js
index ebb249148bb05..9e57c80ae4041 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js
@@ -109,6 +109,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": false,
@@ -133,6 +134,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": false,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js
index 0629a28023336..65496c76ce501 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal-with-comments-emit-enabled.js
@@ -109,6 +109,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": false,
@@ -132,6 +133,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": false,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js
index 80dc65fcfce4a..dece97fb4ebc4 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js
@@ -109,6 +109,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -132,6 +133,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js
index 75d7446ecf43b..4f83ffa5a114f 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-all-projects.js
@@ -94,6 +94,7 @@ declare class secondsecond_part1 { }
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -122,6 +123,7 @@ declare class thirdthird_part1 { }
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js
index c8958c2c7a7df..8f3e1553b54cb 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/triple-slash-refs-in-one-project.js
@@ -89,6 +89,7 @@ declare class secondsecond_part1 { }
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -112,6 +113,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js
index 9ab9006d05b17..fb1debf26a062 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-incremental.js
@@ -84,6 +84,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -107,6 +108,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"incremental": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js
index 22ad4e5885008..9afea1ea7a345 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-is-not-composite-but-uses-project-references.js
@@ -84,6 +84,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -107,6 +108,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js
index 93cfbe26bc4b4..b95089bff4087 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/when-final-project-specifies-tsBuildInfoFile.js
@@ -84,6 +84,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -107,6 +108,7 @@ c.doSomething();
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"tsBuildInfoFile": "./thirdjs/output/third.tsbuildinfo",
diff --git a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js
index 22d2ae9ac28c0..8d0b78854325b 100644
--- a/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js
+++ b/tests/baselines/reference/tsbuild/outfile-concat/when-source-files-are-empty-in-the-own-file.js
@@ -84,6 +84,7 @@ class C {
//// [/src/second/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
@@ -105,6 +106,7 @@ class C {
//// [/src/third/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js
index c66565a5bcda3..42a483cb38a77 100644
--- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js
+++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js
@@ -19,7 +19,7 @@ interface Array { length: number; [n: number]: T; }
function foo() { return 10; }
//// [/user/username/projects/sample1/logic/tsconfig.json]
-{"compilerOptions":{"composite":true,"declaration":true,"outFile":"index.js"},"references":[{"path":"../core","prepend":true}]}
+{"compilerOptions":{"ignoreDeprecations":"5.0","composite":true,"declaration":true,"outFile":"index.js"},"references":[{"path":"../core","prepend":true}]}
//// [/user/username/projects/sample1/logic/index.ts]
function bar() { return foo() + 1 };
@@ -46,7 +46,7 @@ No cached semantic diagnostics in the builder::
No shapes updated in the builder::
Program root files: ["/user/username/projects/sample1/logic/index.ts"]
-Program options: {"composite":true,"declaration":true,"outFile":"/user/username/projects/sample1/logic/index.js","watch":true,"configFilePath":"/user/username/projects/sample1/logic/tsconfig.json"}
+Program options: {"ignoreDeprecations":"5.0","composite":true,"declaration":true,"outFile":"/user/username/projects/sample1/logic/index.js","watch":true,"configFilePath":"/user/username/projects/sample1/logic/tsconfig.json"}
Program structureReused: Not
Program files::
/a/lib/lib.d.ts
@@ -410,7 +410,7 @@ Output::
Program root files: ["/user/username/projects/sample1/logic/index.ts"]
-Program options: {"composite":true,"declaration":true,"outFile":"/user/username/projects/sample1/logic/index.js","watch":true,"configFilePath":"/user/username/projects/sample1/logic/tsconfig.json"}
+Program options: {"ignoreDeprecations":"5.0","composite":true,"declaration":true,"outFile":"/user/username/projects/sample1/logic/index.js","watch":true,"configFilePath":"/user/username/projects/sample1/logic/tsconfig.json"}
Program structureReused: Not
Program files::
/a/lib/lib.d.ts
diff --git a/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js b/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js
index f3b7e8d31adef..f220e3383cd32 100644
--- a/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js
+++ b/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js
@@ -44,6 +44,7 @@ namespace container {
//// [/user/username/projects/container/exec/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"outFile": "../built/local/exec.js",
},
"files": [
@@ -65,6 +66,7 @@ namespace container {
//// [/user/username/projects/container/compositeExec/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"outFile": "../built/local/compositeExec.js",
"composite": true,
"declarationMap": true,
@@ -366,6 +368,7 @@ Info 6 [00:01:20.000] Config: /user/username/projects/container/compositeExec
"/user/username/projects/container/compositeExec/index.ts"
],
"options": {
+ "ignoreDeprecations": "5.0",
"outFile": "/user/username/projects/container/built/local/compositeExec.js",
"composite": true,
"declarationMap": true,
@@ -640,6 +643,7 @@ Info 56 [00:02:33.000] Config: /user/username/projects/container/exec/tsconfig
"/user/username/projects/container/exec/index.ts"
],
"options": {
+ "ignoreDeprecations": "5.0",
"outFile": "/user/username/projects/container/built/local/exec.js",
"configFilePath": "/user/username/projects/container/exec/tsconfig.json"
},
diff --git a/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js b/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js
index 8c21185b26b02..2c2a6eabaf73b 100644
--- a/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js
+++ b/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js
@@ -44,6 +44,7 @@ namespace container {
//// [/user/username/projects/container/exec/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"outFile": "../built/local/exec.js",
},
"files": [
@@ -65,6 +66,7 @@ namespace container {
//// [/user/username/projects/container/compositeExec/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"outFile": "../built/local/compositeExec.js",
"composite": true,
"declarationMap": true,
@@ -363,6 +365,7 @@ Info 6 [00:01:16.000] Config: /user/username/projects/container/compositeExec
"/user/username/projects/container/compositeExec/index.ts"
],
"options": {
+ "ignoreDeprecations": "5.0",
"outFile": "/user/username/projects/container/built/local/compositeExec.js",
"composite": true,
"declarationMap": true,
@@ -531,6 +534,7 @@ Info 43 [00:02:02.000] Config: /user/username/projects/container/exec/tsconfig
"/user/username/projects/container/exec/index.ts"
],
"options": {
+ "ignoreDeprecations": "5.0",
"outFile": "/user/username/projects/container/built/local/exec.js",
"configFilePath": "/user/username/projects/container/exec/tsconfig.json"
},
diff --git a/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js b/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js
index ba6e4d35bd527..ab484f0b52833 100644
--- a/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js
+++ b/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js
@@ -6,6 +6,7 @@ Info 3 [00:01:13.000] Config: /user/username/projects/container/compositeExec
"/user/username/projects/container/compositeExec/index.ts"
],
"options": {
+ "ignoreDeprecations": "5.0",
"outFile": "/user/username/projects/container/built/local/compositeExec.js",
"composite": true,
"declarationMap": true,
@@ -62,6 +63,7 @@ Info 20 [00:01:30.000] Config: /user/username/projects/container/exec/tsconfig
"/user/username/projects/container/exec/index.ts"
],
"options": {
+ "ignoreDeprecations": "5.0",
"outFile": "/user/username/projects/container/built/local/exec.js",
"configFilePath": "/user/username/projects/container/exec/tsconfig.json"
},
@@ -182,6 +184,7 @@ namespace container {
//// [/user/username/projects/container/exec/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"outFile": "../built/local/exec.js",
},
"files": [
@@ -203,6 +206,7 @@ namespace container {
//// [/user/username/projects/container/compositeExec/tsconfig.json]
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"outFile": "../built/local/compositeExec.js",
"composite": true,
"declarationMap": true,
diff --git a/tests/projects/amdModulesWithOut/app/tsconfig.json b/tests/projects/amdModulesWithOut/app/tsconfig.json
index f73bf9c8be20f..46ac3110ff816 100644
--- a/tests/projects/amdModulesWithOut/app/tsconfig.json
+++ b/tests/projects/amdModulesWithOut/app/tsconfig.json
@@ -1,5 +1,6 @@
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"module": "amd",
"composite": true,
diff --git a/tests/projects/container/compositeExec/tsconfig.json b/tests/projects/container/compositeExec/tsconfig.json
index a42e20414fdc8..59709a206054f 100644
--- a/tests/projects/container/compositeExec/tsconfig.json
+++ b/tests/projects/container/compositeExec/tsconfig.json
@@ -1,5 +1,6 @@
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"outFile": "../built/local/compositeExec.js",
"composite": true,
"declarationMap": true,
diff --git a/tests/projects/container/exec/tsconfig.json b/tests/projects/container/exec/tsconfig.json
index abc00c9065896..1e2bba01f4fdc 100644
--- a/tests/projects/container/exec/tsconfig.json
+++ b/tests/projects/container/exec/tsconfig.json
@@ -1,5 +1,6 @@
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"outFile": "../built/local/exec.js",
},
"files": [
diff --git a/tests/projects/outfile-concat/second/tsconfig.json b/tests/projects/outfile-concat/second/tsconfig.json
index 7ea38db348624..c027c55c6eb48 100644
--- a/tests/projects/outfile-concat/second/tsconfig.json
+++ b/tests/projects/outfile-concat/second/tsconfig.json
@@ -1,5 +1,6 @@
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,
diff --git a/tests/projects/outfile-concat/third/tsconfig.json b/tests/projects/outfile-concat/third/tsconfig.json
index abbf603a8e871..1fa6cd4c9c439 100644
--- a/tests/projects/outfile-concat/third/tsconfig.json
+++ b/tests/projects/outfile-concat/third/tsconfig.json
@@ -1,5 +1,6 @@
{
"compilerOptions": {
+ "ignoreDeprecations": "5.0",
"target": "es5",
"composite": true,
"removeComments": true,